summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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