diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2017-10-24 16:38:17 -0700 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2017-10-30 13:05:18 -0700 |
commit | 8ae6fc3ac908d7b979dd1cbaa90a1f044a5c7041 (patch) | |
tree | d681c9e47c5d26460c9c5f40ece16399b32ad361 /build.sh | |
parent | f75e211ded5c832611f140c0f4ed710425c73772 (diff) | |
download | coreclr-8ae6fc3ac908d7b979dd1cbaa90a1f044a5c7041.tar.gz coreclr-8ae6fc3ac908d7b979dd1cbaa90a1f044a5c7041.tar.bz2 coreclr-8ae6fc3ac908d7b979dd1cbaa90a1f044a5c7041.zip |
Pass overridden packages directory to CMake
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -61,7 +61,7 @@ initHostDistroRid() if [ "$__HostOS" == "Linux" ]; then if [ -e /etc/os-release ]; then source /etc/os-release - if [[ $ID == "alpine" || $ID == "rhel"]]; then + if [[ $ID == "alpine" || $ID == "rhel" ]]; then # remove the last version digit VERSION_ID=${VERSION_ID%.*} fi @@ -621,7 +621,7 @@ __IgnoreWarnings=0 # Set the various build properties here so that CMake and MSBuild can pick them up __ProjectDir="$__ProjectRoot" __SourceDir="$__ProjectDir/src" -__PackagesDir="$__ProjectDir/packages" +__PackagesDir="${DotNetRestorePackagesPath:-${__ProjectDir}/packages}" __RootBinDir="$__ProjectDir/bin" __UnprocessedBuildArgs= __RunArgs= |