summaryrefslogtreecommitdiff
path: root/boot-pkgs
diff options
context:
space:
mode:
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>2009-11-04 01:18:30 +0000
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>2009-11-04 01:18:30 +0000
commit91cb5af24ad12cd5574b4cca84ec9fb97668dceb (patch)
tree6c6487b5e469b76fbcc08776360d452a222bc9f6 /boot-pkgs
parent3501ac6af749ada0afcaf84f112ab2e4bf9120b9 (diff)
downloadhaskell-91cb5af24ad12cd5574b4cca84ec9fb97668dceb.tar.gz
Fix non-portable regexp
Diffstat (limited to 'boot-pkgs')
-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