[Git][NTPsec/ntpsec][master] Convert PYTHONDIR/PYTHONARCHDIR to absolute paths
Eric S. Raymond
gitlab at mg.gitlab.com
Fri Jan 5 14:33:37 UTC 2018
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
29fa4f24 by Richard Laager at 2018-01-05T14:29:22+00:00
Convert PYTHONDIR/PYTHONARCHDIR to absolute paths
This makes them behave the same as PREFIX.
This was mentioned in #428, though that report is mainly about a
different issue.
- - - - -
1 changed file:
- wscript
Changes:
=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -931,6 +931,10 @@ int main(int argc, char **argv) {
yesno(ctx.env.ENABLE_DOC and not ctx.env.DISABLE_MANPAGE))
ctx.recurse("pylib")
+ # Convert the Python directories to absolute paths.
+ # This makes them behave the same as PREFIX.
+ ctx.env.PYTHONDIR = os.path.abspath(ctx.env.PYTHONDIR)
+ ctx.env.PYTHONARCHDIR = os.path.abspath(ctx.env.PYTHONARCHDIR)
msg_setting("PYTHONDIR", ctx.env.PYTHONDIR)
msg_setting("PYTHONARCHDIR", ctx.env.PYTHONARCHDIR)
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/29fa4f249f6e9d22dbad0dea6c730607aa5e1fa5
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/29fa4f249f6e9d22dbad0dea6c730607aa5e1fa5
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180105/9a8740e2/attachment.html>
More information about the vc
mailing list