summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-18 14:56:52 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-18 16:08:55 (GMT)
commit44c6db6eb13b52683ad1b4ce49e6805cff076dfb (patch)
treef242dd0d11867a2b8ba05c631854ddcfef3fa496 /bootstrap
parentc118816d44e178e4364a0c32aaece81a14511237 (diff)
downloadCMake-44c6db6eb13b52683ad1b4ce49e6805cff076dfb.zip
CMake-44c6db6eb13b52683ad1b4ce49e6805cff076dfb.tar.gz
CMake-44c6db6eb13b52683ad1b4ce49e6805cff076dfb.tar.bz2
bootstrap: Fix syntax for Solaris 10 shell (#15317)
In commit v3.1.0-rc2~7^2 (Workaround for short jump tables on PA-RISC, 2014-11-04) we added use of shell syntax not supported on the Solaris shell. Avoid using the '!' operator. Reported-by: Friedrich Haubensak <hsk@imb-jena.de>
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 94bed0e..fe051e1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -145,7 +145,7 @@ if ${cmake_system_linux}; then
cmake_machine_parisc=true
fi
elif ${cmake_system_hpux}; then
- if !(uname -m | grep ia64 >/dev/null 2>&1); then
+ if uname -m | grep ia64 >/dev/null 2>&1; then : ; else
cmake_machine_parisc=true
fi
fi