From: Eric Bollengier Date: Wed, 9 May 2007 15:35:55 +0000 (+0000) Subject: ebl Fix sed for BSD* system X-Git-Tag: Release-7.0.0~6395 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d97ff74480c864490f3b1c7760eb6b1be6727d6c;p=bacula%2Fbacula ebl Fix sed for BSD* system git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4736 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/regexwhere-test b/regress/tests/regexwhere-test index 8d8400ae8a..a64b5cd87c 100755 --- a/regress/tests/regexwhere-test +++ b/regress/tests/regexwhere-test @@ -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