summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-01-25 11:56:15 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-01-25 13:18:48 (GMT)
commit206fffb5927bae05a8d8b81c810c33a1c7a70a69 (patch)
tree82288006177e723433862ae7949980ca064a05a8 /configure
parent91ccf28292f7fb78e0192c281bde2818a9be3a97 (diff)
downloadQt-206fffb5927bae05a8d8b81c810c33a1c7a70a69.zip
Qt-206fffb5927bae05a8d8b81c810c33a1c7a70a69.tar.gz
Qt-206fffb5927bae05a8d8b81c810c33a1c7a70a69.tar.bz2
'test -e' is a bashism. It's not available in traditional sh.
Task-number: QTBUG-7549 Reviewed-By: Markus Goetz
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 4a94f93..dc23392 100755
--- a/configure
+++ b/configure
@@ -115,7 +115,7 @@ getQMakeConf1()
inc_file=`echo "$line" | sed -n -e "/^include.*(.*)/s/include.*(\(.*\)).*$/\1/p"`
current_dir=`dirname "$1"`
conf_file="$current_dir/$inc_file"
- if [ ! -e "$conf_file" ]; then
+ if [ ! -f "$conf_file" ]; then
echo "WARNING: Unable to find file $conf_file" >&2
continue
fi
@@ -2278,7 +2278,7 @@ if [ "$OPT_SHADOW" = "yes" ]; then
fi
# symlink fonts to be able to run application from build directory
-if [ "$PLATFORM_QWS" = "yes" ] && [ ! -e "${outpath}/lib/fonts" ]; then
+if [ "$PLATFORM_QWS" = "yes" ] && [ ! -d "${outpath}/lib/fonts" ]; then
if [ "$PLATFORM" = "$XPLATFORM" ]; then
mkdir -p "${outpath}/lib"
ln -s "${relpath}/lib/fonts" "${outpath}/lib/fonts"