1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00

Merge pull request #413 from github/generalize-fix-broken-cabal-store

Generalize script/fix-broken-cabal-store
This commit is contained in:
Rob Rix 2019-12-18 17:15:34 -05:00 committed by GitHub
commit 570b2c2e47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,7 @@
#!/bin/bash
rm -rf ~/.cabal/store/ghc-8.6.5/tr-sttr*
rm -rf ~/.cabal/store/ghc-8.6.5/lib/libHStr-sttr*
rm -rf ~/.cabal/store/ghc-8.6.5/package.db/tr-sttr*
store_dir="$HOME/.cabal/store/ghc-$(ghc --numeric-version)"
rm -rf "$store_dir"/tr-sttr*
rm -rf "$store_dir"/lib/libHStr-sttr*
rm -rf "$store_dir"/package.db/tr-sttr*