From f851984df8e2cbb880facab36e572e0ff001c3c4 Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sun, 1 Aug 2021 22:07:49 +0100 Subject: [PATCH] debug logging --- dist/remote-builder/handleCaching.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/remote-builder/handleCaching.sh b/dist/remote-builder/handleCaching.sh index 6847b2e9..2e270b47 100755 --- a/dist/remote-builder/handleCaching.sh +++ b/dist/remote-builder/handleCaching.sh @@ -45,7 +45,7 @@ fi echo "Checking cache for a cache match based on the combined large files hash ($lfsCacheFolder/$LFS_ASSETS_HASH.zip)" -if [ -v "$LFS_ASSETS_HASH" && -f "$lfsCacheFolder/$LFS_ASSETS_HASH" ]; then +if [ -z "${LFS_ASSETS_HASH}" -a -f "$lfsCacheFolder/$LFS_ASSETS_HASH" ]; then echo "Match found: using large file hash match $LFS_ASSETS_HASH.zip" latestLFSCacheFile="$LFS_ASSETS_HASH" else