* pbuilder-dist:

- Expand "~" in PBUILDFOLDER to the user's home directory.
This commit is contained in:
Siegfried-Angel Gevatter Pujals 2009-08-16 00:12:37 +02:00
parent e54ee2d25a
commit 5069952a4a
2 changed files with 6 additions and 5 deletions

6
debian/changelog vendored
View File

@ -19,7 +19,11 @@ ubuntu-dev-tools (0.76) UNRELEASED; urgency=low
* requestsync: Guard some calls when -n is specified
* suspicious-source: Add *.hs *.el *.css to whitelist
-- Iain Lane <laney@ubuntu.com> Sat, 08 Aug 2009 16:02:25 +0100
[ Siegfried-Angel Gevatter Pujals ]
* pbuilder-dist:
- Expand "~" in PBUILDFOLDER to the user's home directory.
-- Siegfried-Angel Gevatter Pujals <rainct@ubuntu.com> Sun, 16 Aug 2009 00:11:09 +0200
ubuntu-dev-tools (0.75) karmic; urgency=low

View File

@ -85,10 +85,7 @@ class pbuilder_dist:
##############################################################
if 'PBUILDFOLDER' in os.environ:
self.base = os.environ['PBUILDFOLDER']
else:
self.base = os.path.expanduser('~/pbuilder/')
self.base = os.path.expanduser(os.environ.get('PBUILDFOLDER', '~/pbuilder/'))
if not os.path.exists(self.base):
os.makedirs(self.base)