The clobber objdir build didn't work because we forgot to create the objdir before the realclean

This commit is contained in:
cls%seawood.org 2000-04-25 07:21:40 +00:00
Родитель d16b7355c7
Коммит 8575ce8f9c
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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) {