Permalink
Browse files

MOZCONFIG is now meant to be in the repo directory not $HOME

  • Loading branch information...
1 parent 1bf1f0f commit 1ed8e550432ab96af78cd59853b7a7d39b3cda6a @dwaynebailey dwaynebailey committed Mar 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/mozilla/buildxpi.py
View
2 tools/mozilla/buildxpi.py
@@ -44,7 +44,6 @@
HOMEDIR = os.getenv('HOME', '~')
-MOZCONFIG = os.path.join(HOMEDIR, '.mozconfig')
def run(cmd, expected_status=0, stdout=None, stderr=None, shell=False):
if VERBOSE:
@@ -62,6 +61,7 @@ def run(cmd, expected_status=0, stdout=None, stderr=None, shell=False):
return cmd_status
def build_xpi(l10nbase, srcdir, outputdir, lang, product, delete_dest=False):
+ MOZCONFIG = os.path.join(srcdir, '.mozconfig')
# Backup existing .mozconfig if it exists
backup_name = ''
if os.path.exists(MOZCONFIG):

0 comments on commit 1ed8e55

Please sign in to comment.