3
0
mirror of https://git.launchpad.net/ubuntu-dev-tools synced 2025-03-14 08:31:13 +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:
Iain Lane 2008-05-22 18:46:47 +01:00
parent e5cb75e9cb
commit c098ed3931

@ -63,6 +63,9 @@ class pbuilder_dist:
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']