From: Roman Leshchinskiy Date: Wed, 4 Nov 2009 01:18:30 +0000 (+0000) Subject: Fix non-portable regexp X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=91cb5af24ad12cd5574b4cca84ec9fb97668dceb;p=ghc-hetmet.git Fix non-portable regexp --- diff --git a/boot-pkgs b/boot-pkgs index 91da9a3..31ad53c 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