diff options
author | Dan Moseley <danmose@microsoft.com> | 2017-02-17 05:36:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-17 05:36:46 +0300 |
commit | f19e230eb2f8cf4898faaaaec40e5aad9bfa6a6e (patch) | |
tree | 1dac850261f8fc5d76156b755ef3d29ba7767d25 /init-tools.sh | |
parent | d5dc42495de7fa663642dd31765d2671c1758576 (diff) |
Warn for attempt to build on 32 bit unix (#16232)
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-x | init-tools.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init-tools.sh b/init-tools.sh index 2a4f32751f..481472de64 100755 --- a/init-tools.sh +++ b/init-tools.sh @@ -68,6 +68,9 @@ get_current_linux_name() { } if [ -z "$__DOTNET_PKG" ]; then + if [ "$(uname -m | grep "i[3456]86")" = "i686" ]; then + echo "Warning: build not supported on 32 bit Unix" + fi OSName=$(uname -s) case $OSName in Darwin) |