mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-14 00:21:08 +00:00
..
This commit is contained in:
parent
190908d291
commit
c77c4e12ac
@ -186,7 +186,7 @@ class pbuilder_dist:
|
||||
if self.builder == 'pbuilder':
|
||||
base = '--basetgz "%s-base.tgz"' % prefix
|
||||
elif self.builder == 'cowbuilder':
|
||||
base = '--basepath "%s-base.cow"' % prefix,
|
||||
base = '--basepath "%s-base.cow"' % prefix
|
||||
|
||||
arguments = [
|
||||
'--%s' % self.operation,
|
||||
@ -198,7 +198,7 @@ class pbuilder_dist:
|
||||
### --mirror "${ARCHIVE}" \
|
||||
'--override-config',
|
||||
]
|
||||
|
||||
|
||||
if os.path.exists('/var/cache/archive/'):
|
||||
arguments.append('--bindmounts "/var/cache/archive/"')
|
||||
|
||||
@ -259,7 +259,7 @@ def help(exit_code = 0):
|
||||
|
||||
"""
|
||||
|
||||
print 'Bad...'
|
||||
print 'See man pbuilder-dist for more information.'
|
||||
|
||||
sys.exit(exit_code)
|
||||
|
||||
@ -324,7 +324,7 @@ def main():
|
||||
app.set_operation(args.pop(0))
|
||||
|
||||
# Execute the pbuilder command
|
||||
print app.get_command(args)
|
||||
sys.exit(os.system(app.get_command(args)))
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user