clean-old-stack-libs.sh: don't be clever with relpaths

This commit is contained in:
Jens Petersen 2020-05-19 15:31:42 +08:00
parent dbdb2fcb86
commit 120b5380e0

View File

@ -7,8 +7,6 @@ if [ $# != 1 ]; then
exit 1
fi
SRCDIR=$(dirname $0)
pushd ~/stackage/automated/work/$1/unpack-dir/.stack-work/install/x86_64-linux/*/*/lib/x86_64-linux-ghc-*
stack --resolver lts-14 script ${SRCDIR}/remove-old-stack-work-libs.hs
stack --resolver lts-14 script ~/stackage/etc/diskspace/remove-old-stack-work-libs.hs