summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2011-04-26 19:11:14 +0200
committeraxis <qt-info@nokia.com>2011-04-27 12:45:38 +0200
commit428afb264c87855945fce33216d23a89eb912541 (patch)
treef532a434b78422edbbf2af17a6535abb256ac1eb /configure
parent124a9e2e2ceed67506dce779e4f5c134fd600a7e (diff)
Stopped running init-repository from configure.
It's unexpected that configure tampers with your git checkout.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 69a5d865..7c771ef9 100755
--- a/configure
+++ b/configure
@@ -44,7 +44,9 @@ $relpath =~ s,\\,/,g;
# the current directory is the "build tree" or "object tree"
my $outpath = getcwd();
-system_v("perl $relpath/init-repository -q") and die("init-repository failed");
+if (! -e "$outpath/qtbase/configure") {
+ die("$outpath/qtbase/configure not found. Did you forget to run \"init-repository\"?");
+}
ensureDir("$outpath/qtbase");
chdir("$outpath/qtbase");