X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=boot;h=0cdee985f69dfc7a3a4a41dd6b207691456d24a2;hb=ed4beb8bc5e49d84e38b047c2dfc14eb22c74607;hp=2c2d88beb539f252e99279a9f02ba5ebd5c02dfd;hpb=6826a75eee4b12835fc33bdf492b6079e3c6f5b7;p=ghc-hetmet.git diff --git a/boot b/boot index 2c2d88b..0cdee98 100644 --- a/boot +++ b/boot @@ -50,7 +50,7 @@ for f in $libraries; do if test -f $cabals; then echo "Creating $f/ghc.mk" rm -f $f/ghc.mk - pkg=`basename ${cabals%.cabal}` + pkg=`echo "$cabals" | sed -e 's#.*/##' -e 's#\.cabal$##'` if test -f $f/ghc-stage; then stage=`cat $f/ghc-stage` else