summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-01-25 11:56:15 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-01-29 11:24:02 (GMT)
commite7fef10906d15afa270243535865aadd94b47acf (patch)
tree6a1de9dbe298534e4697359d354298e740fadd1d /configure
parent95a4f3a8ab58d7b85b8b957065a07c549b090450 (diff)
downloadQt-e7fef10906d15afa270243535865aadd94b47acf.zip
Qt-e7fef10906d15afa270243535865aadd94b47acf.tar.gz
Qt-e7fef10906d15afa270243535865aadd94b47acf.tar.bz2
'test -e' is a bashism. It's not available in traditional sh.
Task-number: QTBUG-7549 Reviewed-By: Markus Goetz (cherry picked from commit 206fffb5927bae05a8d8b81c810c33a1c7a70a69)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 81872f9..0025ca2 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"