From 120b5380e01beb6ff40fd773c97b578a3e91f48e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 19 May 2020 15:31:42 +0800 Subject: [PATCH] clean-old-stack-libs.sh: don't be clever with relpaths --- etc/diskspace/clean-old-stack-libs.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/etc/diskspace/clean-old-stack-libs.sh b/etc/diskspace/clean-old-stack-libs.sh index 761f9a67..1d306b3d 100755 --- a/etc/diskspace/clean-old-stack-libs.sh +++ b/etc/diskspace/clean-old-stack-libs.sh @@ -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