From 896b1780b4631986eea69b27d4aee5dbc783af37 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sun, 1 Aug 2010 20:03:49 +0200 Subject: [PATCH] syncpackage: Set DEB_VENDOR=Ubuntu when fakesyncing, so fakesyncs prepared on a Debian host can close LP bugs --- syncpackage | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/syncpackage b/syncpackage index 79dda5d..f618810 100755 --- a/syncpackage +++ b/syncpackage @@ -283,7 +283,8 @@ def sync_dsc(script_name, dscurl, debian_dist, release, name, email, bugs, keyid cmd += ["-q"] if verbose: print_command(script_name, cmd + [">", "../" + changes_file]) - changes = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0] + changes = subprocess.Popen(cmd, stdout=subprocess.PIPE, + env={"DEB_VENDOR": "Ubuntu"}).communicate()[0] # Add additional bug numbers if len(bugs) > 0: