summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boot-pkgs2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot-pkgs b/boot-pkgs
index 91da9a3df9..31ad53c516 100644
--- a/boot-pkgs
+++ b/boot-pkgs
@@ -53,7 +53,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 "${f}_dist-install_GROUP = libraries" >> $f/ghc.mk
echo "\$(eval \$(call build-package,${f},dist-install,${stage}))" >> $f/ghc.mk