From 44c6db6eb13b52683ad1b4ce49e6805cff076dfb Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 18 Dec 2014 09:56:52 -0500 Subject: [PATCH] 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 --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 94bed0ecf..fe051e19c 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