X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=boot-pkgs;h=31ad53c5166e989669bff62ab02ad31a7bd1a86c;hp=353112b3c475786915ad488381923e9df161da21;hb=59b01a2fb6cd6a9af37f5fd6775f574bc53af02a;hpb=828617da8b44fdd9653e7fe181205061174a4f50 diff --git a/boot-pkgs b/boot-pkgs index 353112b..31ad53c 100644 --- a/boot-pkgs +++ b/boot-pkgs @@ -3,7 +3,7 @@ set -e libraries= -tarred=`ls -1 libraries/tarballs | sed "s/-[0-9.]*\(-snapshot\)\?.tar.gz//"` +tarred=`ls -1 libraries/tarballs | sed "s/-[0-9.]*\(-snapshot\)\{0,1\}.tar.gz//"` for p in $tarred do @@ -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