Fix prep script to allow skipping artifacts download (#15954)
This commit is contained in:
commit
7fbd480d90
1 changed files with 2 additions and 2 deletions
|
@ -69,14 +69,14 @@ fi
|
||||||
# Check if Private.SourceBuilt artifacts archive exists
|
# Check if Private.SourceBuilt artifacts archive exists
|
||||||
artifactsBaseFileName="Private.SourceBuilt.Artifacts"
|
artifactsBaseFileName="Private.SourceBuilt.Artifacts"
|
||||||
packagesArchiveDir="$SCRIPT_ROOT/prereqs/packages/archive/"
|
packagesArchiveDir="$SCRIPT_ROOT/prereqs/packages/archive/"
|
||||||
if [[ "$downloadArtifacts" == "true" && -f ${packagesArchiveDir}${artifactsBaseFileName}.*.tar.gz ]]; then
|
if [ "$downloadArtifacts" == "true" ] && [ -f ${packagesArchiveDir}${artifactsBaseFileName}.*.tar.gz ]; then
|
||||||
echo " Private.SourceBuilt.Artifacts.*.tar.gz exists...it will not be downloaded"
|
echo " Private.SourceBuilt.Artifacts.*.tar.gz exists...it will not be downloaded"
|
||||||
downloadArtifacts=false
|
downloadArtifacts=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if Private.SourceBuilt prebuilts archive exists
|
# Check if Private.SourceBuilt prebuilts archive exists
|
||||||
prebuiltsBaseFileName="Private.SourceBuilt.Prebuilts"
|
prebuiltsBaseFileName="Private.SourceBuilt.Prebuilts"
|
||||||
if [[ "$downloadPrebuilts" == "true" && -f ${packagesArchiveDir}${prebuiltsBaseFileName}.*.tar.gz ]]; then
|
if [ "$downloadPrebuilts" == "true" ] && [ -f ${packagesArchiveDir}${prebuiltsBaseFileName}.*.tar.gz ]; then
|
||||||
echo " Private.SourceBuilt.Prebuilts.*.tar.gz exists...it will not be downloaded"
|
echo " Private.SourceBuilt.Prebuilts.*.tar.gz exists...it will not be downloaded"
|
||||||
downloadPrebuilts=false
|
downloadPrebuilts=false
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue