Bug #166
Prewikka: Bug in setup.py install --root dir (Patch inside)
Start date:
Due date:
% Done:
0%
Resolution:
fixed
Description
there is a Bug in the setup.py-script from Prewikka for all that want to install prewikka with "setup.py install --root dir". A patch is on the End of this Report.
Thank you,
Stephan Gitz
-------------------------
--- prewikka-0.9.5/setup.py 2006-05-04 10:07:32.000000000 +0200 +++ setup.py 2006-07-16 13:34:59.000000000 +0200 @@ -124,9 +124,9 @@ install.finalize_options(self) def install_conf(self): - self.mkpath(self.root or "" + self.conf_prefix) + self.mkpath((self.root or "") + self.conf_prefix) for file in self.distribution.conf_files: - dest = self.root or "" + self.conf_prefix + "/" + os.path.basename(file) + dest = (self.root or "") + self.conf_prefix + "/" + os.path.basename(file) if os.path.exists(dest): dest += "-dist" self.copy_file(file, dest) @@ -149,8 +149,8 @@ "share/prewikka/htdocs", "share/prewikka/htdocs/images", "share/prewikka/htdocs/js", "share/prewikka/htdocs/css", "share/prewikka/database", "share/prewikka/cgi-bin"): - os.chmod(self.root or "" + self.prefix + "/" + dir, 0755) - os.chmod(self.root or "" + self.conf_prefix, 0755) + os.chmod((self.root or "") + self.prefix + "/" + dir, 0755) + os.chmod((self.root or "") + self.conf_prefix, 0755) if not self.dry_run: for filename in self.get_outputs():
History
#1 Updated by Yoann VANDOORSELAERE about 18 years ago
- Status changed from New to Closed
- Resolution set to fixed
(In r8324) Include patch from Stephan Gitz:
"There is a Bug in the setup.py-script from Prewikka for all that want to
install prewikka with 'setup.py install --root dir'. A patch is on the
end of this report."
Fix #166.
#2 Updated by Yoann VANDOORSELAERE over 15 years ago
- Project changed from PRELUDE SIEM to Prewikka
- Category deleted (
5) - Target version deleted (
0.9.6)