summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-09-07 00:37:42 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-09-07 00:41:13 (GMT)
commit91443717927ee648a0c1c4185aae171ccdf87e2b (patch)
tree7f19ef19f2894375dee1548bc83eabeac8278714
parentd35fe5bb21008ab30c76ebd2fe688ea3e35c084e (diff)
downloadQt-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-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index af8c209..2e2b474 100755
--- a/configure
+++ b/configure
@@ -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."