Fix run/tests for macOS sed.
authorCarl Hetherington <cth@carlh.net>
Mon, 2 May 2022 20:06:43 +0000 (22:06 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 4 May 2022 17:37:38 +0000 (19:37 +0200)
run/tests

index 1b1a287b1ce1ee16d2d0dd757216a6d83299cd97..68069416c2272832aca1b66ac54a731e8741ad1c 100755 (executable)
--- a/run/tests
+++ b/run/tests
@@ -136,7 +136,7 @@ for d in `find $work/private/metadata -mindepth 1 -maxdepth 1 -type d | sort -f
 done
 
 # Fudge the output
-sed -i "s/DCP: build\/test/DCP: test/g" $work/info2.log
+sed -i -e "s/DCP: build\/test/DCP: test/g" $work/info2.log
 
 # And check it
 diff -q $work/info2.log $private/info2.log