J=JobF
if grep -q "Restore OK" tmp/RUN_$J &&
- grep -q "/tmp/regress/build/po/fr.po" tmp/RUN_$J
+ grep -q "${cwd}/build/po/fr.po" tmp/RUN_$J
then
[ "$debug" = 1 ] && echo $J ok
else
# test with bregtest
find ${cwd}/build > tmp/list
-sed -e 's/readme/readme/i' -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
fi
-end_test
\ No newline at end of file
+end_test