Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
| File honor_prefix.patch,
740 bytes
(added by tbradshaw, 5 years ago) |
|
Patch to honor the prefix in the situation described. Has weird filenames.
|
-
|
old
|
new
|
|
| 196 | 196 | self.upgrade = True |
| 197 | 197 | if self.script_dir is None: |
| 198 | 198 | if os.name == "posix": |
| 199 | | self.script_dir = "/usr/local/bin" |
| | 199 | if self.prefix: |
| | 200 | # honor the prefix specified on the command line |
| | 201 | self.script_dir = os.path.join(self.prefix, |
| | 202 | "bin") |
| | 203 | else: |
| | 204 | self.script_dir = "/usr/local/bin" |
| 200 | 205 | else: |
| 201 | 206 | path = os.environ.get("PATH", "") |
| 202 | 207 | import re |
Download in other formats: