Merge lp:~jelmer/bzr/setup.py-root into lp:bzr
Proposed by
Jelmer Vernooij
Status: | Merged |
---|---|
Approved by: | John A Meinel |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5522 |
Proposed branch: | lp:~jelmer/bzr/setup.py-root |
Merge into: | lp:bzr |
Diff against target: |
25 lines (+3/-3) 1 file modified
bzrlib/tests/test_setup.py (+3/-3) |
To merge this branch: | bzr merge lp:~jelmer/bzr/setup.py-root |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel | Approve | ||
bzr-core | code | Pending | |
Review via email: mp+40067@code.launchpad.net |
Commit message
Run setup.py with --root rather than with --prefix.
Description of the change
This branch changes the setup.py test to use --root rather than --prefix. --root changes the root for all file paths (including /usr/share/apport/ and /etc). This changes fixes the setup.py test inside of the Debian packages.
Presumably it also prevents bzr selftest from writing to /etc and /usr/share/ when run as root.
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/4/2010 5:46 AM, Jelmer Vernooij wrote:
> Jelmer Vernooij has proposed merging lp:~jelmer/bzr/setup.py-root into lp:bzr.
>
> Requested reviews:
> bzr-core (bzr-core): code
>
>
> This branch changes the setup.py test to use --root rather than --prefix. --root changes the root for all file paths (including /usr/share/apport/ and /etc). This changes fixes the setup.py test inside of the Debian packages.
>
> Presumably it also prevents bzr selftest from writing to /etc and /usr/share/ when run as root.
merge: approve
John enigmail. mozdev. org/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkz SuggACgkQJdeBCY SNAAOsLwCdGArbH hdN5AJ8kIIQqQV3 xC+h vo7hLECbFoIhPAw Zz
5osAn3mRh7oCa18
=DTLO
-----END PGP SIGNATURE-----