From bda71660ae9b7e8dd3628849df4f69f83e16a668 Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sun, 1 Aug 2021 21:55:27 +0100 Subject: [PATCH] debug logging --- dist/remote-builder/handleCaching.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/remote-builder/handleCaching.sh b/dist/remote-builder/handleCaching.sh index 01fc792b..56c951bf 100755 --- a/dist/remote-builder/handleCaching.sh +++ b/dist/remote-builder/handleCaching.sh @@ -43,12 +43,13 @@ if [ ! -z "$latestLibraryCacheFile" ]; then echo 'Unzipped library' 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" ]; 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.zip" ]; then echo "Match found: using large file hash match $LFS_ASSETS_HASH.zip" latestLFSCacheFile="$LFS_ASSETS_HASH.zip"