diff options
author | Julien Cristau <jcristau@mozilla.com> | 2021-07-12 10:45:31 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@mozilla.com> | 2021-07-12 10:45:31 +0200 |
commit | 6c3923cdb3368bce9b3fe6877120d040757d5434 (patch) | |
tree | 9295b92f2f84859afe7565ea7bc3f1d26741e962 /automation/release | |
parent | fa4b9e52b0f145c2d9fe19a736627717567e2f72 (diff) | |
download | nss-hg-6c3923cdb3368bce9b3fe6877120d040757d5434.tar.gz |
Backed out changeset f6d43442dbe4 "Use GNU tar for the release helper script"
The "gtar" command doesn't usually exist on Linux.
Diffstat (limited to 'automation/release')
-rwxr-xr-x | automation/release/nss-release-helper.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/automation/release/nss-release-helper.py b/automation/release/nss-release-helper.py index eb5be3c7e..8cc0a725e 100755 --- a/automation/release/nss-release-helper.py +++ b/automation/release/nss-release-helper.py @@ -301,16 +301,16 @@ def create_nss_release_archive(): check_call_noisy(["mkdir", "-p", nss_stagedir]) check_call_noisy(["hg", "archive", "-r", nssreltag, "--prefix=nss-" + nssrel + "/nss", stagedir + "/" + nssreltag + "/src/" + nss_tar, "-X", ".hgtags"]) - check_call_noisy(["gtar", "-xz", "-C", nss_stagedir, "-f", nsprtar_with_path]) + check_call_noisy(["tar", "-xz", "-C", nss_stagedir, "-f", nsprtar_with_path]) print("changing to directory " + nss_stagedir) os.chdir(nss_stagedir) - check_call_noisy(["gtar", "-xz", "-f", nss_tar]) + check_call_noisy(["tar", "-xz", "-f", nss_tar]) check_call_noisy(["mv", "-i", "nspr-" + nsprrel + "/nspr", "nss-" + nssrel + "/"]) check_call_noisy(["rmdir", "nspr-" + nsprrel]) nss_nspr_tar = "nss-" + nssrel + "-with-nspr-" + nsprrel + ".tar.gz" - check_call_noisy(["gtar", "-cz", "--remove-files", "-f", nss_nspr_tar, "nss-" + nssrel]) + check_call_noisy(["tar", "-cz", "--remove-files", "-f", nss_nspr_tar, "nss-" + nssrel]) check_call("sha1sum " + nss_tar + " " + nss_nspr_tar + " > SHA1SUMS", shell=True) check_call("sha256sum " + nss_tar + " " + nss_nspr_tar + " > SHA256SUMS", shell=True) print("created directory " + nss_stagedir + " with files:") |