Stopped running init-repository from configure.

It's unexpected that configure tampers with your git checkout.
This commit is contained in:
axis
2011-04-26 19:11:14 +02:00
parent 124a9e2e2c
commit 428afb264c

4
configure vendored
View File

@@ -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");