mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-27 19:09:47 +00:00
mkdir -p the objdir if it doesn't exist; seems pretty important. me=preed, r=rhelmer.
This commit is contained in:
parent
30de22526d
commit
38827786b1
@ -24,7 +24,7 @@ use Config; # for $Config{sig_name} and $Config{sig_num}
|
||||
use File::Find ();
|
||||
use File::Copy;
|
||||
|
||||
$::UtilsVersion = '$Revision: 1.322 $ ';
|
||||
$::UtilsVersion = '$Revision: 1.323 $ ';
|
||||
|
||||
package TinderUtils;
|
||||
|
||||
@ -391,6 +391,12 @@ sub SetupEnv {
|
||||
my $topsrcdir = "$Settings::BaseDir/$Settings::DirName/mozilla";
|
||||
$objdir = "$topsrcdir/${Settings::ObjDir}";
|
||||
|
||||
if (not -e $objdir) {
|
||||
# Not checking errors here, because it's too early to set $status and the
|
||||
# build will fail anyway; failing loudly is better than failing silently.
|
||||
run_shell_command("mkdir -p $objdir");
|
||||
}
|
||||
|
||||
$Settings::TopsrcdirFull = $topsrcdir;
|
||||
$Settings::TopsrcdirLast = $topsrcdir . ".last";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user