summaryrefslogtreecommitdiff
path: root/buildscripts/packager-enterprise.py
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2013-10-07 18:54:29 -0400
committerErnie Hershey <ernie.hershey@10gen.com>2013-10-12 18:20:01 -0400
commit31713e0af43e23ba6a46f44684d41877bebf0fde (patch)
tree50aff6b816a3ee7634701af54aa00f338ae3998a /buildscripts/packager-enterprise.py
parentb57a0b403ef86071c2d8d8e8c32f54abb8907a75 (diff)
downloadmongo-31713e0af43e23ba6a46f44684d41877bebf0fde.tar.gz
SERVER-963 Separate enterprise and community debian rules and control files
Diffstat (limited to 'buildscripts/packager-enterprise.py')
-rwxr-xr-xbuildscripts/packager-enterprise.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/packager-enterprise.py b/buildscripts/packager-enterprise.py
index 7a1e4ba63c4..d146d0110a1 100755
--- a/buildscripts/packager-enterprise.py
+++ b/buildscripts/packager-enterprise.py
@@ -356,8 +356,8 @@ def make_deb(distro, arch, spec, srcdir):
# Rewrite the control and rules files
write_debian_changelog(sdir+"debian/changelog", spec, srcdir)
distro_arch=distro.archname(arch)
- sysassert(["cp", "-v", srcdir+"debian/control", sdir+"debian/"])
- sysassert(["cp", "-v", srcdir+"debian/rules", sdir+"debian/"])
+ sysassert(["cp", "-v", srcdir+"debian/%s%s.control" % (distro.pkgbase(), suffix), sdir+"debian/control"])
+ sysassert(["cp", "-v", srcdir+"debian/%s%s.rules" % (distro.pkgbase(), suffix), sdir+"debian/rules"])
# old non-server-package postinst will be hanging around for old versions