From f9a33ed4e5d2e9fd89b40fb7583b1b83c9ec269a Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sun, 1 Aug 2021 22:05:18 +0100 Subject: [PATCH] debug logging --- dist/remote-builder/handleCaching.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dist/remote-builder/handleCaching.sh b/dist/remote-builder/handleCaching.sh index b5e02978..6847b2e9 100755 --- a/dist/remote-builder/handleCaching.sh +++ b/dist/remote-builder/handleCaching.sh @@ -43,14 +43,9 @@ if [ ! -z "$latestLibraryCacheFile" ]; then echo 'Unzipped library' fi -if [ ! -v "$LFS_ASSETS_HASH" ]; then - echo "no LFS hash environment variable set, this is meant to happen automatically (required for LFS caching)" - LFS_ASSETS_HASH="noHashFound" -fi - echo "Checking cache for a cache match based on the combined large files hash ($lfsCacheFolder/$LFS_ASSETS_HASH.zip)" -if [ -f "$lfsCacheFolder/$LFS_ASSETS_HASH" ]; then +if [ -v "$LFS_ASSETS_HASH" && -f "$lfsCacheFolder/$LFS_ASSETS_HASH" ]; then echo "Match found: using large file hash match $LFS_ASSETS_HASH.zip" latestLFSCacheFile="$LFS_ASSETS_HASH" else