mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-14 00:21:08 +00:00
Make ~/pbuilder if it doesn't exist. Pbuilder complains if this isn't created when it is called as "pbuilder create".
This commit is contained in:
parent
e5cb75e9cb
commit
c098ed3931
@ -62,6 +62,9 @@ class pbuilder_dist:
|
||||
self.base = os.environ['PBUILDFOLDER']
|
||||
else:
|
||||
self.base = os.path.expanduser('~/pbuilder/')
|
||||
|
||||
if not os.path.exists(self.base):
|
||||
os.makedirs(self.base)
|
||||
|
||||
if 'PBUILDAUTH' in os.environ:
|
||||
self.auth = os.environ['PBUILDAUTH']
|
||||
|
Loading…
x
Reference in New Issue
Block a user