etc/diskspace/clean-old-stack-libs.sh wrapper shell script

This commit is contained in:
Jens Petersen 2020-05-19 14:29:07 +08:00
parent 2c27b690d8
commit 95b3cae91d

View File

@ -0,0 +1,10 @@
#!/bin/sh
if [ $# != 1 ]; then
echo "Usage: $0 [nightly|lts-xx]"
exit 1
fi
popd ~/stackage/automated/work/$1/unpack-dir/.stack-work/install/x86_64-linux/*/*/lib/x86_64-linux-ghc-*
~/stackage/etc/diskspace/remove-old-stack-work-libs.hs