mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-20 13:23:55 -07:00
Prevent cabal.project.freeze from interfering with distro tests
Some checks are pending
Build ShellCheck / Package Source Code (push) Waiting to run
Build ShellCheck / Run tests (push) Blocked by required conditions
Build ShellCheck / Build (push) Blocked by required conditions
Build ShellCheck / Package Binaries (push) Blocked by required conditions
Build ShellCheck / Deploy binaries (push) Blocked by required conditions
Some checks are pending
Build ShellCheck / Package Source Code (push) Waiting to run
Build ShellCheck / Run tests (push) Blocked by required conditions
Build ShellCheck / Build (push) Blocked by required conditions
Build ShellCheck / Package Binaries (push) Blocked by required conditions
Build ShellCheck / Deploy binaries (push) Blocked by required conditions
This commit is contained in:
parent
3f3c2cd94b
commit
abf3c0ca66
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,12 @@ command -v cabal ||
|
|||
cabal 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 ]
|
||||
then
|
||||
# Arch has an unconventional packaging setup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue