Fix shadowbuild
authorOlivier Goffart <olivier.goffart@nokia.com>
Wed, 27 Apr 2011 12:05:53 +0000 (14:05 +0200)
committerOlivier Goffart <olivier.goffart@nokia.com>
Wed, 27 Apr 2011 12:05:53 +0000 (14:05 +0200)
Reviewed-by: axis
configure

index 7c771ef..b8ee11f 100755 (executable)
--- a/configure
+++ b/configure
@@ -44,8 +44,8 @@ $relpath =~ s,\\,/,g;
 # the current directory is the "build tree" or "object tree"
 my $outpath = getcwd();
 
-if (! -e "$outpath/qtbase/configure") {
-    die("$outpath/qtbase/configure not found. Did you forget to run \"init-repository\"?");
+if (! -e "$relpath/qtbase/configure") {
+    die("$relpath/qtbase/configure not found. Did you forget to run \"init-repository\"?");
 }
 
 ensureDir("$outpath/qtbase");