[latex3-commits] [latex2e-public] r1482 - buils dscipt needs "os_yes"

noreply at latex-project.org noreply at latex-project.org
Wed Apr 19 19:23:27 CEST 2017


Author: joseph
Date: 2017-04-19 19:23:27 +0200 (Wed, 19 Apr 2017)
New Revision: 1482

Modified:
   trunk/base/build.lua
Log:
buils dscipt needs "os_yes"

l3build chenges tighten up on the scope of internals.


Modified: trunk/base/build.lua
===================================================================
--- trunk/base/build.lua	2017-04-16 15:36:43 UTC (rev 1481)
+++ trunk/base/build.lua	2017-04-19 17:23:27 UTC (rev 1482)
@@ -164,6 +164,10 @@
     end
   end
   for _,i in ipairs (unpackfiles) do
+    local os_yes = "printf 'y\\n%.0s' {1..200}"
+    if os.type == "windows" then
+      os_yes = "for /l %I in (1,1,200) do @echo y"
+    end
     for _,j in ipairs (filelist (unpackdir, i)) do
       os.execute (os_yes .. ">>" .. localdir .. "/yes")
       errorlevel = os.execute (



More information about the latex3-commits mailing list