This commit is contained in:
Joey Hess 2014-10-14 17:04:39 -04:00
parent a6d73bb8fe
commit dadb152988

View file

@ -34,7 +34,7 @@ patched () {
pkg=$1
ver=$2
if [ -z "$ver" ]; then
ver="$(grep " $pkg " cabal.config | cut -d= -f 3 | sed 's/,$//')"
ver="$(grep " $pkg " ../cabal.config | cut -d= -f 3 | sed 's/,$//')"
fi
if [ -z "$ver" ]; then
cabal unpack $pkg