From 8bc96e08cb0c613edc35bcc6c3e8028b4db9e0aa Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 20 Apr 2006 07:06:39 +0000 Subject: - fixed log-to-syslog behavior - added patch against strongswan-2.6.4 --- Source/scripts/replace | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 Source/scripts/replace (limited to 'Source/scripts/replace') diff --git a/Source/scripts/replace b/Source/scripts/replace new file mode 100755 index 000000000..adfc8e09a --- /dev/null +++ b/Source/scripts/replace @@ -0,0 +1,9 @@ +#!/bin/bash + +FILES=`find . -name '*.[ch]'` +for FILE in $FILES +do + TMP=${FILE}_tmp + sed "s/$1/$2/g" < $FILE > $TMP + mv $TMP $FILE +done -- cgit v1.2.3