diff --git a/debian/changelog b/debian/changelog index 92c53a6..2f0c295 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,11 +7,11 @@ ubuntu-dev-tools (0.107) UNRELEASED; urgency=low - Sort debian/install as well as debian/*.install - Add one-space-indentation option: --short-indent - Remove null-entry from trailing comma in sorted lists - * ack-sync, dgetlp, grab-merge, syncpackage: Export DEB_VENDOR=Ubuntu when - unpacking source packages. 3.0 (quilt) has optional per-vendor patch + * dgetlp, grab-merge, pull-lp-source, syncpackage: Export DEB_VENDOR=Ubuntu + when unpacking source packages. 3.0 (quilt) has optional per-vendor patch series. - -- Stefano Rivera Wed, 24 Nov 2010 21:04:46 +0200 + -- Stefano Rivera Wed, 24 Nov 2010 21:31:51 +0200 ubuntu-dev-tools (0.106) experimental; urgency=low diff --git a/pull-lp-source b/pull-lp-source index eccaf31..11cc5b3 100755 --- a/pull-lp-source +++ b/pull-lp-source @@ -75,10 +75,13 @@ if __name__ == '__main__': dsc_url = [url for url in spph.sourceFileUrls() if url.endswith('.dsc')] assert dsc_url, 'No .dsc file found' + env = os.environ + env['DEB_VENDOR'] = 'Ubuntu' + # All good - start downloading... print 'Fetching the source for %s from %s (%s)...' % ( package, release.capitalize(), pocket) - if subprocess.call(['/usr/bin/dget', '-xu', dsc_url[0]]) == 0: + if subprocess.call(['/usr/bin/dget', '-xu', dsc_url[0]], env=env) == 0: print 'Success!' else: print 'Failed to fetch and extrace the source.', \