зеркало из https://github.com/mozilla/gecko-dev.git
Whoops tree red. backout.
This commit is contained in:
Родитель
758141a596
Коммит
a35210d2f7
|
@ -76,15 +76,13 @@ $source_subdir .= '/' unless $source_subdir eq '';
|
|||
$ac_given_srcdir = $0;
|
||||
$ac_given_srcdir =~ s|/?build/autoconf/.*$||;
|
||||
$ac_given_srcdir = '.' if $ac_given_srcdir eq '';
|
||||
|
||||
if ($ac_given_srcdir =~ /^\./) {
|
||||
while ($depth =~ /\.\./g) {
|
||||
if ($ac_given_srcdir =~ /\//) {
|
||||
$ac_given_srcdir =~ s/\/[^\/]+$//;
|
||||
} else {
|
||||
$ac_given_srcdir = '.';
|
||||
}
|
||||
$ac_given_srcdir =~ s/\/[^\/]+//;
|
||||
}
|
||||
}
|
||||
|
||||
# Build the list of makefiles to generate
|
||||
#
|
||||
@makefiles = ();
|
||||
|
@ -94,7 +92,7 @@ foreach $makefile (@ARGV) {
|
|||
$makefile =~ /Makefile$/ or $makefile .= "/Makefile";
|
||||
push @makefiles, "${source_subdir}$makefile";
|
||||
}
|
||||
@makefiles = "${source_subdir}Makefile" unless @ARGV;
|
||||
@makefiles = "Makefile" if $#makefiles == -1;
|
||||
|
||||
# Create all the directories at once.
|
||||
# This can be much faster than calling mkdir() for each one.
|
||||
|
@ -152,7 +150,7 @@ foreach $ac_file (@makefiles) {
|
|||
}
|
||||
|
||||
#mkdir $subdir, 0777 unless -d $subdir;
|
||||
|
||||
|
||||
if (-e $ac_file) {
|
||||
next if -M _ < -M $ac_file_in;
|
||||
warn "updating $ac_file\n";
|
||||
|
|
Загрузка…
Ссылка в новой задаче