on master help sign in
clean-old-stack-libs.sh: don't be clever with relpaths
120b538Jens Petersen
etc/diskspace/clean-old-stack-libs.sh+1−3
@@ -7,8 +7,6 @@ if [ $# != 1 ]; then
7 exit 1
7 exit 1
8fi
8fi
9
9
10−SRCDIR=$(dirname $0)
11−
12pushd ~/stackage/automated/work/$1/unpack-dir/.stack-work/install/x86_64-linux/*/*/lib/x86_64-linux-ghc-*
10pushd ~/stackage/automated/work/$1/unpack-dir/.stack-work/install/x86_64-linux/*/*/lib/x86_64-linux-ghc-*
13
11
14−stack --resolver lts-14 script ${SRCDIR}/remove-old-stack-work-libs.hs
12+stack --resolver lts-14 script ~/stackage/etc/diskspace/remove-old-stack-work-libs.hs