]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - testing/scripts/function.sh
Some whitespace fixes
[thirdparty/strongswan.git] / testing / scripts / function.sh
index c512b8add66f5872ab9f4001be1c34dea6ecfec7..5fbc98293bf38d215ded69e105970584c0c513ac 100755 (executable)
@@ -183,21 +183,21 @@ running_any()
 
 function searchandreplace {
 
-    SEARCHSTRING="$1"
-    REPLACESTRING="$2"
-    DESTDIR="$3"
+       SEARCHSTRING="$1"
+       REPLACESTRING="$2"
+       DESTDIR="$3"
 
-    [ -d "$DESTDIR" ] || die "$DESTDIR is not a directory!"
+       [ -d "$DESTDIR" ] || die "$DESTDIR is not a directory!"
 
 
-    ###########################################
-    # search and replace in each found file the
-    # given string
-    #
+       ###########################################
+       # search and replace in each found file the
+       # given string
+       #
 
-    for eachfoundfile in `find $DESTDIR -type f`
-    do
-        sed -i -e "s/$SEARCHSTRING/$REPLACESTRING/g" "$eachfoundfile"
-    done
+       for eachfoundfile in `find $DESTDIR -type f`
+       do
+               sed -i -e "s/$SEARCHSTRING/$REPLACESTRING/g" "$eachfoundfile"
+       done
 
 }