Disable fking cabal-cache

This commit is contained in:
Julian Ospald 2023-07-07 23:41:28 +08:00
parent 0da5572164
commit 6ff07d3dbc
No known key found for this signature in database
GPG Key ID: CCC85C0E40C06A8C
1 changed files with 1 additions and 8 deletions

View File

@ -9,12 +9,5 @@ case "$(uname -s)" in
;;
esac
if [ "${CABAL_CACHE_DISABLE}" = "yes" ] ; then
echo "cabal-cache disabled (CABAL_CACHE_DISABLE set)"
elif [ "${CABAL_CACHE_NONFATAL}" = "yes" ] ; then
time "cabal-cache${ext}" "$@" || echo "cabal-cache failed (CABAL_CACHE_NONFATAL set)"
else
time "cabal-cache${ext}" "$@"
exit $?
fi
echo "cabal-cache disabled (CABAL_CACHE_DISABLE set)"