mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
ubuntutools/builder.py: Pass distribution and architecture to pbuilder update function.
This commit is contained in:
parent
9bbcd92ce4
commit
7e038457bc
@ -51,7 +51,8 @@ class Pbuilder(Builder):
|
|||||||
return subprocess.call(cmd)
|
return subprocess.call(cmd)
|
||||||
|
|
||||||
def update(self, dist):
|
def update(self, dist):
|
||||||
cmd = ["sudo", "-E", "DIST=" + dist, "pbuilder", "--update"]
|
cmd = ["sudo", "-E", "DIST=" + dist, "pbuilder", "--update",
|
||||||
|
"--distribution", dist, "--architecture", self.architecture]
|
||||||
Logger.command(cmd)
|
Logger.command(cmd)
|
||||||
return subprocess.call(cmd)
|
return subprocess.call(cmd)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user