Putting together OPTIONFLAGS, sed needs the global flag to handle multiple

options.
This commit is contained in:
Rob Landley 2006-02-16 09:25:31 +00:00
parent 006fa2d45b
commit 5c1cd5fdd3

View File

@ -94,7 +94,7 @@ fi
# Set up option flags so tests can be selective. # Set up option flags so tests can be selective.
configfile=${bindir:-../../}/.config 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 for applet in $applets; do
if [ "$applet" = "links" ]; then continue; fi if [ "$applet" = "links" ]; then continue; fi