Merge in 'release/6.0.1xx' changes
This commit is contained in:
commit
c7c896d0bb
1 changed files with 5 additions and 5 deletions
|
@ -114,14 +114,14 @@ restoredPackagesDir="$SCRIPT_ROOT/packages/restored"
|
||||||
|
|
||||||
if [ -d "$SCRIPT_ROOT/packages/archive" ]; then
|
if [ -d "$SCRIPT_ROOT/packages/archive" ]; then
|
||||||
sourceBuiltArchive=`find $SCRIPT_ROOT/packages/archive -maxdepth 1 -name 'Private.SourceBuilt.Artifacts*.tar.gz'`
|
sourceBuiltArchive=`find $SCRIPT_ROOT/packages/archive -maxdepth 1 -name 'Private.SourceBuilt.Artifacts*.tar.gz'`
|
||||||
if [ -f "$sourceBuiltArchive" ]; then
|
if [ -f "$SCRIPT_ROOT/packages/previously-source-built/PackageVersions.props" ]; then
|
||||||
|
packageVersionsPath=$SCRIPT_ROOT/packages/previously-source-built/PackageVersions.props
|
||||||
|
elif [ -f "$sourceBuiltArchive" ]; then
|
||||||
tar -xzf "$sourceBuiltArchive" -C /tmp PackageVersions.props
|
tar -xzf "$sourceBuiltArchive" -C /tmp PackageVersions.props
|
||||||
packageVersionsPath=/tmp/PackageVersions.props
|
packageVersionsPath=/tmp/PackageVersions.props
|
||||||
fi
|
fi
|
||||||
else
|
elif [ -f "$CUSTOM_PREVIOUSLY_BUILT_PACKAGES_DIR/PackageVersions.props" ]; then
|
||||||
if [ -f "$CUSTOM_PREVIOUSLY_BUILT_PACKAGES_DIR/PackageVersions.props" ]; then
|
packageVersionsPath="$CUSTOM_PREVIOUSLY_BUILT_PACKAGES_DIR/PackageVersions.props"
|
||||||
packageVersionsPath="$CUSTOM_PREVIOUSLY_BUILT_PACKAGES_DIR/PackageVersions.props"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "$packageVersionsPath" ]; then
|
if [ ! -f "$packageVersionsPath" ]; then
|
||||||
|
|
Loading…
Reference in a new issue