diff options
author | Ernie Hershey <ernie.hershey@10gen.com> | 2013-11-30 11:38:24 -0500 |
---|---|---|
committer | Ernie Hershey <ernie.hershey@10gen.com> | 2013-12-04 18:50:30 -0500 |
commit | db57baaeaf3a629991b956bd1628cede5c779aa7 (patch) | |
tree | 7fe1d91037abe3fd0ae0026ba38e5fcf21afaca5 /buildscripts | |
parent | 47022f14d2f2582ba07abcb35f4fec9706d6dbb8 (diff) | |
download | mongo-db57baaeaf3a629991b956bd1628cede5c779aa7.tar.gz |
SERVER-11766 Use "enterprise" instead of "subscription" in release archive filenames
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/packager-enterprise.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/buildscripts/packager-enterprise.py b/buildscripts/packager-enterprise.py index d146d0110a1..2afed53a534 100755 --- a/buildscripts/packager-enterprise.py +++ b/buildscripts/packager-enterprise.py @@ -175,7 +175,7 @@ def main(argv): os.chdir(prefix) try: # Download the binaries. - urlfmt="http://downloads.mongodb.com/linux/mongodb-linux-%s-subscription-%s-%s.tgz" + urlfmt="http://downloads.mongodb.com/linux/mongodb-linux-%s-enterprise-%s-%s.tgz" # Build a pacakge for each distro/spec/arch tuple, and # accumulate the repository-layout directories. @@ -276,7 +276,7 @@ def ensure_dir(filename): def tarfile(distro, arch, spec): """Return the location where we store the downloaded tarball for (arch, spec)""" - return "dl/mongodb-linux-%s-subscription-%s-%s.tar.gz" % (spec.version(), distro.build_os(), arch) + return "dl/mongodb-linux-%s-enterprise-%s-%s.tar.gz" % (spec.version(), distro.build_os(), arch) def setupdir(distro, arch, spec): # The setupdir will be a directory containing all inputs to the @@ -296,9 +296,9 @@ def unpack_binaries_into(distro, arch, spec, where): # thing and chdir into where and run tar there. os.chdir(where) try: - sysassert(["tar", "xvzf", rootdir+"/"+tarfile(distro, arch, spec), "mongodb-linux-%s-subscription-%s-%s/bin" % (arch, distro.build_os(), spec.version())]) - os.rename("mongodb-linux-%s-subscription-%s-%s/bin" % (arch, distro.build_os(), spec.version()), "bin") - os.rmdir("mongodb-linux-%s-subscription-%s-%s" % (arch, distro.build_os(), spec.version())) + sysassert(["tar", "xvzf", rootdir+"/"+tarfile(distro, arch, spec), "mongodb-linux-%s-enterprise-%s-%s/bin" % (arch, distro.build_os(), spec.version())]) + os.rename("mongodb-linux-%s-enterprise-%s-%s/bin" % (arch, distro.build_os(), spec.version()), "bin") + os.rmdir("mongodb-linux-%s-enterprise-%s-%s" % (arch, distro.build_os(), spec.version())) except Exception: exc=sys.exc_value os.chdir(rootdir) |