[Git][NTPsec/ntpsec][ntpc] ntpc, ffi: Do _not_ rebuild on install. Doh.

James Browning gitlab at mg.gitlab.com
Wed Sep 9 15:37:53 UTC 2020



James Browning pushed to branch ntpc at NTPsec / ntpsec


Commits:
58b3c38e by James Browning at 2020-09-09T08:36:42-07:00
ntpc, ffi: Do _not_ rebuild on install. Doh.

- - - - -


1 changed file:

- pylib/wscript


Changes:

=====================================
pylib/wscript
=====================================
@@ -38,13 +38,12 @@ def build(ctx):
     
     bldnode.mkdir()
 
-    ctx.add_group()
-
-    target3 = bldnode.ant_glob('*ntpc*')
-    for _ in target3:
-        ctx.exec_command("rm -f %s" % _.abspath())
-
-    ctx.add_group()
+    if ctx.cmd not in ('install'):
+        ctx.add_group()
+        target3 = bldnode.ant_glob('*ntpc*')
+        for _ in target3:
+            ctx.exec_command("rm -f %s" % _.abspath())
+        ctx.add_group()
 
     sources = []
     if ctx.env['ntpc'] == 'ext':



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/58b3c38effea3dba4c979f7d93634e70f9a6c00c

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/58b3c38effea3dba4c979f7d93634e70f9a6c00c
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/20200909/475fe1d0/attachment.htm>


More information about the vc mailing list