prewikka/master: Fix installation (root vs prefix)
[email protected] Fri, 5 Feb 2010 21:24:17 +0100 (CET)
| Newsgroups | gmane.comp.security.ids.prelude.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 995a10a7390c5d8bedddcac715c4ee94eb2e332f Author: Pierre Chifflier <[email protected]> Date: Fri Feb 5 20:31:05 2010 +0100 Fix installation (root vs prefix) Hi, Directory "generated_images" is created by setup.py, but relatively to prefix only. This patch prepends root (if existing) before prefix. Signed-off-by: Pierre Chifflier <[email protected]> ======================================== setup.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ======================================== diff --git a/setup.py b/setup.py index d759d2a..915e278 100644 --- a/setup.py +++ b/setup.py @@ -189,7 +189,7 @@ class my_install(install): self.install_conf() self.init_siteconfig() install.run(self) - self.mkpath(self.prefix + "/share/prewikka/htdocs/generated_images") + self.mkpath((self.root or "") + self.prefix + "/share/prewikka/htdocs/generated_images") for dir in ("/", "share/prewikka", _______________________________________________ Prelude-cvslog site list [email protected] http://lists.prelude-technologies.com/mailman/listinfo/prelude-cvslog