Putting together OPTIONFLAGS, sed needs the global flag to handle multiple
authorRob Landley <rob@landley.net>
Thu, 16 Feb 2006 09:25:31 +0000 (09:25 -0000)
committerRob Landley <rob@landley.net>
Thu, 16 Feb 2006 09:25:31 +0000 (09:25 -0000)
options.

testsuite/runtest

index c1b1ec2f4ce5e59be5c66a21fde8ec923005264a..b1f07fbae536d44e51b84d11e965fa6b4b8a9b85 100755 (executable)
@@ -94,7 +94,7 @@ fi
 # Set up option flags so tests can be selective.
 
 configfile=${bindir:-../../}/.config
-export OPTIONFLAGS=:$(echo $(sed -nr 's/^CONFIG_(.*)=.*/\1/p' $configfile) | sed 's/ /:/')
+export OPTIONFLAGS=:$(echo $(sed -nr 's/^CONFIG_(.*)=.*/\1/p' $configfile) | sed 's/ /:/g')
 
 for applet in $applets; do
        if [ "$applet" = "links" ]; then continue; fi