Skip to content
Snippets Groups Projects
Commit 44c6db6e authored by Brad King's avatar Brad King
Browse files

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: default avatarFriedrich Haubensak <hsk@imb-jena.de>
parent c118816d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment