summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-test.sh6
-rwxr-xr-xbuild.sh4
2 files changed, 10 insertions, 0 deletions
diff --git a/build-test.sh b/build-test.sh
index 2b83380dcb..48d9a1f604 100755
--- a/build-test.sh
+++ b/build-test.sh
@@ -29,6 +29,10 @@ initTargetDistroRid()
export __DistroRid="$__HostDistroRid"
fi
+ if [ "$__BuildOS" == "OSX" ]; then
+ __PortableBuild=1
+ fi
+
# Portable builds target the base RID
if [ "$__PortableBuild" == 1 ]; then
if [ "$__BuildOS" == "Linux" ]; then
@@ -41,6 +45,8 @@ initTargetDistroRid()
if [ "$ID.$VERSION_ID" == "ubuntu.16.04" ]; then
export __DistroRid="ubuntu.14.04-$__BuildArch"
fi
+
+ echo "__DistroRid: " $__DistroRid
}
isMSBuildOnNETCoreSupported()
diff --git a/build.sh b/build.sh
index 922063c099..a098d5e9ad 100755
--- a/build.sh
+++ b/build.sh
@@ -105,6 +105,10 @@ initTargetDistroRid()
export __DistroRid="$__HostDistroRid"
fi
+ if [ "$__BuildOS" == "OSX" ]; then
+ __PortableBuild=1
+ fi
+
# Portable builds target the base RID
if [ $__PortableBuild == 1 ]; then
if [ "$__BuildOS" == "Linux" ]; then