From d97ff74480c864490f3b1c7760eb6b1be6727d6c Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 9 May 2007 15:35:55 +0000 Subject: [PATCH] ebl Fix sed for BSD* system git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4736 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/regexwhere-test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5