Fix
parent
ab463665ba
commit
1448c8deff
|
|
@ -24,11 +24,10 @@ fi
|
||||||
ls -lh "$libraryCacheFolder"
|
ls -lh "$libraryCacheFolder"
|
||||||
latestLibraryCacheFile=$(ls -t "$libraryCacheFolder" | grep .zip$ | head -1)
|
latestLibraryCacheFile=$(ls -t "$libraryCacheFolder" | grep .zip$ | head -1)
|
||||||
|
|
||||||
echo "Checking if $libraryCacheFolder/$latestLibraryCacheFile $libraryFolderFull"
|
echo "Checking if Library cache $libraryCacheFolder/$latestLibraryCacheFile exists"
|
||||||
if [ -f "$libraryCacheFolder/$latestLibraryCacheFile" ]; then
|
if [ -f "$libraryCacheFolder/$latestLibraryCacheFile" ]; then
|
||||||
echo "Library cache exists $"
|
echo "Library cache exists"
|
||||||
mkdir -p "$libraryFolderFull"
|
unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull/.."
|
||||||
unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull"
|
|
||||||
tree "$libraryFolderFull"
|
tree "$libraryFolderFull"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -49,8 +48,7 @@ fi
|
||||||
if [ ! -f "$lfsCacheFolder/$latestLFSCacheFile" ]; then
|
if [ ! -f "$lfsCacheFolder/$latestLFSCacheFile" ]; then
|
||||||
echo "LFS cache exists from build $latestLFSCacheFile from $branch"
|
echo "LFS cache exists from build $latestLFSCacheFile from $branch"
|
||||||
rm -r "$gitLFSDestinationFolder"
|
rm -r "$gitLFSDestinationFolder"
|
||||||
mkdir -p "$gitLFSDestinationFolder"
|
unzip -q "$lfsCacheFolder/$latestLFSCacheFile" -d "$gitLFSDestinationFolder/.."
|
||||||
unzip -q "$lfsCacheFolder/$latestLFSCacheFile" -d "$gitLFSDestinationFolder"
|
|
||||||
echo "git LFS folder, (should not contain $latestLFSCacheFile)"
|
echo "git LFS folder, (should not contain $latestLFSCacheFile)"
|
||||||
ls -lh "$gitLFSDestinationFolder/"
|
ls -lh "$gitLFSDestinationFolder/"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue