From 16e4fb6c98aa85e3a670b4d2d709e31c9726894b Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Sun, 23 Jun 2013 11:15:32 +0200 Subject: [PATCH] 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 --- configure | 1 + 1 file changed, 1 insertion(+) 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