From 371d15a11496a2d98f6d5c10cacc50e279215ab9 Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sat, 21 Aug 2021 17:04:11 +0000 Subject: [PATCH] Fix --- dist/cloud-runner/handleCaching.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/cloud-runner/handleCaching.sh b/dist/cloud-runner/handleCaching.sh index b51ab1be..5e1829e4 100755 --- a/dist/cloud-runner/handleCaching.sh +++ b/dist/cloud-runner/handleCaching.sh @@ -27,7 +27,7 @@ latestLibraryCacheFile=$(ls -t "$libraryCacheFolder" | grep .zip$ | head -1) echo "Checking if Library cache $libraryCacheFolder/$latestLibraryCacheFile exists" if [ -f "$libraryCacheFolder/$latestLibraryCacheFile" ]; then echo "Library cache exists" - unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull/../" + unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$repoPathFull" tree "$libraryFolderFull" fi @@ -48,7 +48,7 @@ fi if [ ! -f "$lfsCacheFolder/$latestLFSCacheFile" ]; then echo "LFS cache exists from build $latestLFSCacheFile from $branch" rm -r "$gitLFSDestinationFolder" - unzip -q "$lfsCacheFolder/$latestLFSCacheFile" -d "$gitLFSDestinationFolder/../" + unzip -q "$lfsCacheFolder/$latestLFSCacheFile" -d "$repoPathFull/.git" echo "git LFS folder, (should not contain $latestLFSCacheFile)" ls -lh "$gitLFSDestinationFolder/" fi