]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Fix sed for BSD* system
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 9 May 2007 15:35:55 +0000 (15:35 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 9 May 2007 15:35:55 +0000 (15:35 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4736 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/regexwhere-test

index 8d8400ae8a88bf9be9ed2031ee1ebe65ca6186e1..a64b5cd87c6e22e7786aaec0e8fe452e327f92ab 100755 (executable)
@@ -275,7 +275,8 @@ fi
 # test with bregtest
 
 find ${cwd}/build > tmp/list
-sed -e 's/README/readme/' -e 's/\([ch]\)$/.old.\1/' tmp/list > tmp/list.sed
+# thanks to BSD like system for that...
+sed -e 's/[Rr][Ee][Aa][Dd][Mm][Ee]/readme/' -e 's/\([ch]\)$/.old.\1/' tmp/list > tmp/list.sed
 ./build/src/tools/bregtest -s -f tmp/list -e '/readme/readme/i,/([ch])$/.old.$1/' > tmp/list.bsed
 
 if diff -q tmp/list.bsed tmp/list.sed