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:
commit
570b2c2e47
@ -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*
|
||||
|
Loading…
Reference in New Issue
Block a user