summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-06-30 00:21:32 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2009-06-30 00:21:32 (GMT)
commitddf331ab7746e0a5a92feff5d4d9848a77da63ab (patch)
treeb52bbaff0e6e7cb3d87fc8117ad7502d66e70c32
parent380b2a34183fe74e58375c2e4e3d8071de10cf98 (diff)
downloadktest-ddf331ab7746e0a5a92feff5d4d9848a77da63ab.zip
ktest-ddf331ab7746e0a5a92feff5d4d9848a77da63ab.tar.gz
ktest-ddf331ab7746e0a5a92feff5d4d9848a77da63ab.tar.bz2
ktest-ddf331ab7746e0a5a92feff5d4d9848a77da63ab.tar.xz
allmake.sh: simplify regex
-rwxr-xr-xallmake.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/allmake.sh b/allmake.sh
index f2004a6..27d45fb 100755
--- a/allmake.sh
+++ b/allmake.sh
@@ -44,7 +44,8 @@ for a in x86_64 i386; do
if [ "$a" = i386 ]; then gccopt=' -m32'; else gccopt=''; fi
mkdir -p o.$a-allconfig o.$a-noconfig
make ARCH=$a O=o.$a-allconfig CC="$gcc$gccopt" allyesconfig
- sed -r -e 's/^(CONFIG_DEBUG_INFO|CONFIG_CMDLINE_BOOL|CONFIG_BROKEN|CONFIG_SERIAL_MAX3100)=./\1=n/' \
+ sed -r \
+ -e 's/^CONFIG_(DEBUG_INFO|CMDLINE_BOOL|BROKEN|SERIAL_MAX3100)=./\1=n/' \
-i o.$a-allconfig/.config
make ARCH=$a O=o.$a-noconfig CC="$gcc$gccopt" allnoconfig
done