cleanup and corrections
parent
a72eb3d7e0
commit
d6f8ad96f6
|
|
@ -43,10 +43,9 @@ if [ ! -z "$latestLibraryCacheFile" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Restore LFS cache
|
# Restore LFS cache
|
||||||
if [[ ! -v "$LFS_ASSETS_HASH" ]]; then
|
if [ ! -v "$LFS_ASSETS_HASH" ] && [ -f "$LFS_ASSETS_HASH" ]
|
||||||
latestLFSCacheFile=LFS_ASSETS_HASH
|
then latestLFSCacheFile=LFS_ASSETS_HASH
|
||||||
else
|
else latestLFSCacheFile=$(ls -t "$cacheFolderWithBranch/lfs" | egrep -i -e '\\.zip$' | head -1)
|
||||||
latestLFSCacheFile=$(ls -t "$cacheFolderWithBranch/lfs" | egrep -i -e '\\.zip$' | head -1)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z "$latestLFSCacheFile" ]; then
|
if [ ! -z "$latestLFSCacheFile" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue