mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
* pbuilder-dist:
- Fix typo in local archive support, introduced in 0.107. - Warn user if they run sudo pbuilder-dist (LP: #691999).
This commit is contained in:
parent
d7ee62e951
commit
a10ca5753f
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -3,7 +3,9 @@ ubuntu-dev-tools (0.108) UNRELEASED; urgency=low
|
||||
[ Stefano Rivera ]
|
||||
* lp-shell, import-bug-from-debian:
|
||||
Use the 'production' LP instance instead of 'edge' (which is going away).
|
||||
* pbuilder-dist: Fix typo in local archive support, introduced in 0.107.
|
||||
* pbuilder-dist:
|
||||
- Fix typo in local archive support, introduced in 0.107.
|
||||
- Warn user if they run sudo pbuilder-dist (LP: #691999).
|
||||
|
||||
[ Benjamin Drung ]
|
||||
* pull-lp-source: Unquote URI to get "+" instead of "%2B" in the file name
|
||||
@ -26,7 +28,7 @@ ubuntu-dev-tools (0.108) UNRELEASED; urgency=low
|
||||
--buildresult is specified.
|
||||
* sponsor-patch: Support building with pbuilder-dist.
|
||||
|
||||
-- Benjamin Drung <bdrung@ubuntu.com> Sat, 18 Dec 2010 12:57:29 +0100
|
||||
-- Stefano Rivera <stefanor@ubuntu.com> Sat, 18 Dec 2010 22:08:01 +0200
|
||||
|
||||
ubuntu-dev-tools (0.107) experimental; urgency=low
|
||||
|
||||
|
@ -89,6 +89,11 @@ class pbuilder_dist:
|
||||
'~/pbuilder/'))
|
||||
|
||||
if not os.path.isdir(self.base):
|
||||
if 'SUDO_USER' in os.environ:
|
||||
print >> stderr, ("Warning: pbuilder-dist running under sudo. "
|
||||
"This is probably not what you want. "
|
||||
"pbuilder-dist will use sudo itself, "
|
||||
"when necessary.")
|
||||
try:
|
||||
os.makedirs(self.base)
|
||||
except os.OSError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user