mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-15 10:51:28 +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
@ -63,6 +63,9 @@ class pbuilder_dist:
|
|||||||
else:
|
else:
|
||||||
self.base = os.path.expanduser('~/pbuilder/')
|
self.base = os.path.expanduser('~/pbuilder/')
|
||||||
|
|
||||||
|
if not os.path.exists(self.base):
|
||||||
|
os.makedirs(self.base)
|
||||||
|
|
||||||
if 'PBUILDAUTH' in os.environ:
|
if 'PBUILDAUTH' in os.environ:
|
||||||
self.auth = os.environ['PBUILDAUTH']
|
self.auth = os.environ['PBUILDAUTH']
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user