summaryrefslogtreecommitdiff
path: root/init-tools.sh
diff options
context:
space:
mode:
authorMatt Ellis <matell@microsoft.com>2016-05-28 23:33:20 -0700
committerMatt Ellis <matell@microsoft.com>2016-05-28 23:33:20 -0700
commite3b44b0823bbf53383161e7f4530226ce4954ac6 (patch)
tree65f39cbf4a2034bec23307225ae337dd016d7c59 /init-tools.sh
parent5c00a5f9f425a295e3b80e7e71acbcff1ff15120 (diff)
downloadcoreclr-e3b44b0823bbf53383161e7f4530226ce4954ac6.tar.gz
coreclr-e3b44b0823bbf53383161e7f4530226ce4954ac6.tar.bz2
coreclr-e3b44b0823bbf53383161e7f4530226ce4954ac6.zip
Fix RHEL 7 Build
There were two issues: - $__BuildArch is not defined in init-tools.sh, so we would always download the ubuntu version of the CLI, since our check for `rhel.7.2-x64` would never fire. - There was a small RHEL specific bug in BuildTools itself that manifested when we actually were able to download the CLI and try to restore the runtime.
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-xinit-tools.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/init-tools.sh b/init-tools.sh
index f10da6017f..6c0002f03d 100755
--- a/init-tools.sh
+++ b/init-tools.sh
@@ -8,7 +8,7 @@ initDistroName()
export __DistroRid=""
else
source /etc/os-release
- export __DistroRid="$ID.$VERSION_ID-$__BuildArch"
+ export __DistroRid="$ID.$VERSION_ID-x64"
fi
fi
}