diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-09-07 00:37:42 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-09-07 00:41:13 (GMT) |
commit | 91443717927ee648a0c1c4185aae171ccdf87e2b (patch) | |
tree | 7f19ef19f2894375dee1548bc83eabeac8278714 | |
parent | d35fe5bb21008ab30c76ebd2fe688ea3e35c084e (diff) | |
download | Qt-91443717927ee648a0c1c4185aae171ccdf87e2b.zip Qt-91443717927ee648a0c1c4185aae171ccdf87e2b.tar.gz Qt-91443717927ee648a0c1c4185aae171ccdf87e2b.tar.bz2 |
Fixed compile on Solaris.
The `test' builtin in Solaris' /bin/sh does not understand `-e', use
`-f' instead.
Fixes: configure: test: argument expected
Note, using the `-nokia-developer' configure option hides this
breakage.
Reviewed-by: Rhys Weatherley
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3742,7 +3742,7 @@ elif [ "$Edition" = "OpenSource" ]; then while true; do echo "You are licensed to use this software under the terms of" echo "the Lesser GNU General Public License (LGPL) versions 2.1." - if [ -e "$relpath/LICENSE.GPL3" ]; then + if [ -f "$relpath/LICENSE.GPL3" ]; then echo "You are also licensed to use this software under the terms of" echo "the GNU General Public License (GPL) versions 3." affix="either" @@ -3754,7 +3754,7 @@ elif [ "$Edition" = "OpenSource" ]; then echo "You have already accepted the terms of the $LicenseType license." acceptance=yes else - if [ -e "$relpath/LICENSE.GPL3" ]; then + if [ -f "$relpath/LICENSE.GPL3" ]; then echo "Type '3' to view the GNU General Public License version 3." fi echo "Type 'L' to view the Lesser GNU General Public License version 2.1." |