Commit 10aa0194 authored by dons's avatar dons
Browse files

[project @ 2004-10-06 00:56:59 by dons]

Use >> append onto, so that build scripts can add extra vars

Replace grep \(a\|b\) with [ab]. \| is an extended regex, whereas the
[] class is a basic RE -- so it works with BSD grep.
parent beeecedc
......@@ -28,7 +28,7 @@ fi
case "$configopts" in
cat >mk/ <<END
cat >>mk/ <<END
......@@ -37,7 +37,7 @@ END
cat >mk/ <<END
cat >>mk/ <<END
# empty
......@@ -77,7 +77,7 @@ PRIMOP_BITS="primop-data-decl.hs-incl \
# Remove the old libraries. Don't use make clean, because we don't
# want to delete the .hs files generated from the .hsc files, because
# we don't have hsc2hs built yet.
find libraries hslibs | grep '\.\(o\|a\)$' | xargs rm -f
find libraries hslibs | grep '\.[oa]$' | xargs rm -f
# Do includes and RTS now
$MAKE -C ghc/includes boot && $MAKE -C ghc/includes all
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment