From af757777a590864b10d71e571c5fbcfbda0eaa82 Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sun, 1 Aug 2021 19:13:26 +0100 Subject: [PATCH] cleanup and corrections --- dist/remote-builder/handleCaching.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dist/remote-builder/handleCaching.sh b/dist/remote-builder/handleCaching.sh index 10feddd9..be467777 100755 --- a/dist/remote-builder/handleCaching.sh +++ b/dist/remote-builder/handleCaching.sh @@ -40,11 +40,13 @@ if [ ! -z "$latestLibraryCacheFile" ]; then echo 'Creating empty Library folder for cache' mkdir -p "$libraryFolderFull" unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull" + echo 'Unzipped library' fi latestLFSCacheFile=$(ls -t "$lfsCacheFolder" | grep .zip$ | head -1) if [ ! -v "$LFS_ASSETS_HASH" ] && [ -f "$lfsCacheFolder/$LFS_ASSETS_HASH.zip" ]; then + echo 'Exact LFS hash match' latestLFSCacheFile="$LFS_ASSETS_HASH.zip" fi @@ -59,11 +61,13 @@ echo ' ' echo 'Size of LFS cache folder for this branch' du -sch "$gitLFSDestinationFolder" echo 'Size of Library cache folder for this branch' -du -sch "$latestLibraryCacheFile" +du -sch "$latestLibraryCacheFolder" echo ' ' + echo 'Size of cache folder for this branch' du -sch "$cacheFolderWithBranch" echo ' ' + echo 'Size of LFS cache folder' du -sch "$cacheFolderFull" echo ' '