Bug 1533659 - Fix arguments handling in unpack.py after bug 1531634. r=froydnj
authorMike Hommey <mh+mozilla@glandium.org>
Mon, 11 Mar 2019 01:38:59 +0000
changeset 463582 e7f9e5754e7741b0fb521b797deb68802738046f
parent 463581 7ae9bc24596f95a6bb69fcf1ce3d810ee478b6a0
child 463583 8ecd607b3d513cf2646705ccb6c29fc0a463d959
push id80231
push usermh@glandium.org
push dateTue, 12 Mar 2019 00:39:36 +0000
treeherderautoland@e7f9e5754e77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1533659, 1531634
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1533659 - Fix arguments handling in unpack.py after bug 1531634. r=froydnj Differential Revision: https://phabricator.services.mozilla.com/D22658
toolkit/mozapps/installer/unpack.py
--- a/toolkit/mozapps/installer/unpack.py
+++ b/toolkit/mozapps/installer/unpack.py
@@ -14,12 +14,12 @@ def main():
         description='Unpack a Gecko-based application')
     parser.add_argument('directory', help='Location of the application')
     parser.add_argument('--omnijar', help='Name of the omnijar')
 
     options = parser.parse_args(sys.argv[1:])
 
     buildconfig.substs['USE_ELF_HACK'] = False
     buildconfig.substs['PKG_SKIP_STRIP'] = True
-    unpack(sys.argv[1], options.omnijar)
+    unpack(options.directory, options.omnijar)
 
 if __name__ == "__main__":
     main()