mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-16 01:21:07 +00:00
pbuilder-dist: add self. before target_distro in powerpc check
This commit is contained in:
parent
1c04fd9ec0
commit
afdf9bfd63
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -9,8 +9,9 @@ ubuntu-dev-tools (0.94) UNRELEASED; urgency=low
|
|||||||
* mk-sbuild: allow any foreign chroot (may not work, but we can try)
|
* mk-sbuild: allow any foreign chroot (may not work, but we can try)
|
||||||
* pbuilder-dist: allow any foreign chroot (may not work, but we can try)
|
* pbuilder-dist: allow any foreign chroot (may not work, but we can try)
|
||||||
* docs/pbuilder-dist.1: update manpage to indicate general architecture
|
* docs/pbuilder-dist.1: update manpage to indicate general architecture
|
||||||
|
* pbuilder-dist: add self. before target_distro in powerpc check
|
||||||
|
|
||||||
-- Emmet Hikory <persia@ubuntu.com> Mon, 08 Mar 2010 18:51:19 +0900
|
-- Emmet Hikory <persia@ubuntu.com> Mon, 08 Mar 2010 20:45:09 +0900
|
||||||
|
|
||||||
ubuntu-dev-tools (0.93) lucid; urgency=low
|
ubuntu-dev-tools (0.93) lucid; urgency=low
|
||||||
|
|
||||||
|
@ -221,7 +221,7 @@ class pbuilder_dist:
|
|||||||
else:
|
else:
|
||||||
if self.build_architecture in ('amd64','i386'):
|
if self.build_architecture in ('amd64','i386'):
|
||||||
arguments.append('--mirror "http://archive.ubuntu.com/ubuntu/"')
|
arguments.append('--mirror "http://archive.ubuntu.com/ubuntu/"')
|
||||||
elif self.build_architecture == 'powerpc' and target_distro == 'dapper':
|
elif self.build_architecture == 'powerpc' and self.target_distro == 'dapper':
|
||||||
arguments.append('--mirror "http://archive.ubuntu.com/ubuntu/"')
|
arguments.append('--mirror "http://archive.ubuntu.com/ubuntu/"')
|
||||||
else:
|
else:
|
||||||
arguments.append('--mirror "http://ports.ubuntu.com/ubuntu-ports/"')
|
arguments.append('--mirror "http://ports.ubuntu.com/ubuntu-ports/"')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user