From fa25fc2431411b072c7d2cdf9fadda2a7834ab64 Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sat, 31 Jul 2021 22:29:34 +0100 Subject: [PATCH] after initalizing repo without lfs, log test LFS file size --- dist/remote-builder/handleCaching.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dist/remote-builder/handleCaching.sh b/dist/remote-builder/handleCaching.sh index 63f277a1..5d4f0c31 100755 --- a/dist/remote-builder/handleCaching.sh +++ b/dist/remote-builder/handleCaching.sh @@ -44,15 +44,11 @@ echo "Checking cache" # Restore library cache latest=$(ls -t "$cacheFolderWithBranch" | egrep -i -e '\\.zip$' | head -1) -if [ "$(ls -A $latest)" ]; then - echo 'Cache empty' -else if [ ! -z "$latest" ]; then +if [ ! -z "$latest" ]; then echo "Library cache exists from build $latest from $branchName" echo 'Creating empty Library folder for cache' mkdir "$libraryFolderFull" unzip -q "$cacheFolderWithBranch/$latest" -d "$libraryFolderFull" -else - echo 'Cache does not exist' fi # Restore LFS cache