[Git][NTPsec/ntpsec][master] Address Gitlab issue #376: Need a symlink from ./tests/pylib/ntp
Eric S. Raymond
gitlab at mg.gitlab.com
Tue Sep 5 17:57:53 UTC 2017
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
ec62ceba by Eric S. Raymond at 2017-09-05T13:56:56-04:00
Address Gitlab issue #376: Need a symlink from ./tests/pylib/ntp
- - - - -
1 changed file:
- wscript
Changes:
=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -1013,12 +1013,12 @@ def afterparty(ctx):
if ctx.cmd == 'clean':
ctx.exec_command("rm -fr wafhelpers/*.pyc pylib/__pycache__/*.pyc "
"wafhelpers/__pycache__/*.pyc ntpd/version.h "
- "ntpclients/ntp")
- for x in ("ntpclients",):
+ "ntpclients/ntp tests/pylib/ntp")
+ for x in ("ntpclients", "tests/pylib"):
# List used to be longer...
path_build = ctx.bldnode.make_node("pylib")
path_source = ctx.srcnode.make_node(x + "/ntp")
- relpath = "../" + path_build.path_from(ctx.srcnode)
+ relpath = ("../" * (x.count("/")+1)) + path_build.path_from(ctx.srcnode)
if ctx.cmd in ('install', 'build'):
if ((not path_source.exists() or
os.readlink(path_source.abspath()) != relpath)):
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/ec62cebaa4e66eef33627e6829d5a9d81b459a42
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/ec62cebaa4e66eef33627e6829d5a9d81b459a42
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/20170905/5faf8a27/attachment.html>
More information about the vc
mailing list