Bug 1182727 - Part 19: Fix another stupid mistake in build_tar_package()
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 13 Oct 2015 14:20:39 -0400
changeset 300940 140cb7bbca5f92565d4b11cc3abf170a5123ebc4
parent 300939 a67ea3f246789055d22a902606bb16c723e543b3
child 300941 5b5b1921c0d6cb0d6251024b961ab931109f8439
push id5392
push userraliiev@mozilla.com
push dateMon, 14 Dec 2015 20:08:23 +0000
treeherdermozilla-beta@16ce8562a975 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1182727
milestone44.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 1182727 - Part 19: Fix another stupid mistake in build_tar_package() DONTBUILD
build/unix/build-clang/build-clang.py
--- a/build/unix/build-clang/build-clang.py
+++ b/build/unix/build-clang/build-clang.py
@@ -59,17 +59,19 @@ def updated_env(env):
     yield
     os.environ.clear()
     os.environ.update(old_env)
 
 
 def build_tar_package(tar, name, base, directory):
     name = os.path.realpath(name)
     run_in(base, [tar,
-                  "-c -%s -f" % ("J" if ".xz" in name else "j"),
+                  "-c",
+                  "-%s" % ("J" if ".xz" in name else "j"),
+                  "-f",
                   name, directory])
 
 
 def copy_dir_contents(src, dest):
     for f in glob.glob("%s/*" % src):
         try:
             destname = "%s/%s" % (dest, os.path.basename(f))
             shutil.copytree(f, destname)