From 6e932f36c45deb0839ba96a443c9a065f96aea96 Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sun, 1 Aug 2021 22:02:06 +0100 Subject: [PATCH] debug logging --- dist/remote-builder/handleCaching.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/remote-builder/handleCaching.sh b/dist/remote-builder/handleCaching.sh index 56c951bf..b5e02978 100755 --- a/dist/remote-builder/handleCaching.sh +++ b/dist/remote-builder/handleCaching.sh @@ -44,15 +44,15 @@ if [ ! -z "$latestLibraryCacheFile" ]; then fi if [ ! -v "$LFS_ASSETS_HASH" ]; then - echo "no LFS hash environment variable set this is meant to happen automatically (required for LFS caching)" + 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.zip" ]; then +if [ -f "$lfsCacheFolder/$LFS_ASSETS_HASH" ]; then echo "Match found: using large file hash match $LFS_ASSETS_HASH.zip" - latestLFSCacheFile="$LFS_ASSETS_HASH.zip" + latestLFSCacheFile="$LFS_ASSETS_HASH" else latestLFSCacheFile=$(ls -t "$lfsCacheFolder" | grep .zip$ | head -1) echo "Match not found: using latest large file cache $latestLFSCacheFile"