summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-08 23:02:36 +0000
committerIan Lynagh <igloo@earth.li>2009-05-08 23:02:36 +0000
commitf986a83107850e6031a0635d49fe99d8a3e9085e (patch)
tree45f1d883d8c614406dbb74eed6c07b81271aa3e2 /boot
parent637e621af0214877c98cb3ca5ae4dca5f737c316 (diff)
downloadhaskell-f986a83107850e6031a0635d49fe99d8a3e9085e.tar.gz
Tweak ./boot
Diffstat (limited to 'boot')
-rw-r--r--boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot b/boot
index 0cdee985f6..9c5f1c5d7f 100644
--- a/boot
+++ b/boot
@@ -56,7 +56,7 @@ for f in $libraries; do
else
stage=1
fi
- top=`echo $f | sed "s/[^/]*/../g"`
+ top=`echo $f | sed 's#[^/]\+#..#g'`
echo "${f}_PACKAGE = ${pkg}" >> $f/ghc.mk
echo "\$(eval \$(call build-package,${f},dist-install,${stage}))" >> $f/ghc.mk
rm -f $f/GNUmakefile