mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-25 20:06:52 +08:00
Prevent cabal.project.freeze from interfering with distro tests
This commit is contained in:
@@ -12,6 +12,12 @@ command -v cabal ||
|
|||||||
cabal update ||
|
cabal update ||
|
||||||
die "can't update"
|
die "can't update"
|
||||||
|
|
||||||
|
if [ -e "cabal.project.freeze" ]
|
||||||
|
then
|
||||||
|
echo "Renaming cabal.project.freeze to .bak to avoid it interferring" >&2
|
||||||
|
mv "cabal.project.freeze" "cabal.project.freeze.bak" || die "Couldn't rename"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -e /etc/arch-release ]
|
if [ -e /etc/arch-release ]
|
||||||
then
|
then
|
||||||
# Arch has an unconventional packaging setup
|
# Arch has an unconventional packaging setup
|
||||||
|
Reference in New Issue
Block a user