aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-06-23 11:15:32 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-23 23:48:51 +0200
commit16e4fb6c98aa85e3a670b4d2d709e31c9726894b (patch)
tree6d5564406d4202cbc155342ea9ee705301233f5a /configure
parente9b62c8c6914428014c30be7e3cf0889372ee0b6 (diff)
configure: Fix srcpath when you run configure in the top-level dir
Using the absolute path to configure, otherwise you get: [user@locahost qt5]$ ./configure -minimal + cd qtbase + ./qtbase/configure -minimal ./configure: line 58: ./qtbase/configure: No such file or directory Change-Id: Ic7568cc571aaa52c56bcd28fa1b6bde8abb32c8e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 746e5920..9ba24b57 100755
--- a/configure
+++ b/configure
@@ -41,6 +41,7 @@
#############################################################################
srcpath=`dirname $0`
+srcpath=`(cd "$srcpath"; /bin/pwd)`
configure=$srcpath/qtbase/configure
if [ ! -e "$configure" ]; then
echo "$configure not found. Did you forget to run \"init-repository\"?" >&2