mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
etc/diskspace/clean-old-stack-libs.sh wrapper shell script
This commit is contained in:
parent
2c27b690d8
commit
95b3cae91d
10
etc/diskspace/clean-old-stack-libs.sh
Normal file
10
etc/diskspace/clean-old-stack-libs.sh
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user