зеркало из https://github.com/mozilla/pjs.git
The clobber objdir build didn't work because we forgot to create the objdir before the realclean
This commit is contained in:
Родитель
d16b7355c7
Коммит
8575ce8f9c
|
@ -18,7 +18,7 @@ use POSIX qw(sys_wait_h strftime);
|
|||
use Cwd;
|
||||
use File::Basename; # for basename();
|
||||
use Config; # for $Config{sig_name} and $Config{sig_num}
|
||||
$::UtilsVersion = '$Revision: 1.16 $ ';
|
||||
$::UtilsVersion = '$Revision: 1.17 $ ';
|
||||
|
||||
package TinderUtils;
|
||||
|
||||
|
@ -556,6 +556,7 @@ sub BuildIt {
|
|||
my $make = "$Settings::Make -f client.mk";
|
||||
my $targets = $TreeSpecific::checkout_target;
|
||||
$targets = $TreeSpecific::checkout_clobber_target unless $Settings::BuildDepend;
|
||||
mkdir $Settings::ObjDir, 0777 if ($Settings::ObjDir && ! -e $Settings::ObjDir);
|
||||
|
||||
my $status = run_shell_command "$make $targets";
|
||||
if ($status != 0) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче