Disable fking cabal-cache

This commit is contained in:
2023-07-07 23:41:28 +08:00
parent 0da5572164
commit 6ff07d3dbc

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)"