Fix false positive for finding Library cache
parent
a5b35c377d
commit
509021a811
|
|
@ -24,7 +24,7 @@ fi
|
||||||
latestLibraryCacheFile=$(ls -t "$libraryCacheFolder" | grep .zip$ | head -1)
|
latestLibraryCacheFile=$(ls -t "$libraryCacheFolder" | grep .zip$ | head -1)
|
||||||
|
|
||||||
echo "Checking if $libraryCacheFolder/$latestLibraryCacheFile exists from $branch"
|
echo "Checking if $libraryCacheFolder/$latestLibraryCacheFile exists from $branch"
|
||||||
if [ ! -z "$libraryCacheFolder/$latestLibraryCacheFile" ]; then
|
if [ -z "$libraryCacheFolder/$latestLibraryCacheFile" ]; then
|
||||||
echo "Library cache exists"
|
echo "Library cache exists"
|
||||||
mkdir -p "$libraryFolderFull"
|
mkdir -p "$libraryFolderFull"
|
||||||
unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull"
|
unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue