[latex3-commits] [l3svn] branch master updated: l3build: Allow local diff choice on Windows

noreply at latex-project.org noreply at latex-project.org
Mon Sep 7 15:30:14 CEST 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  1501adb   l3build: Allow local diff choice on Windows
1501adb is described below

commit 1501adb10a90b55e62544395f87c928ac6e6a984
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Sep 7 14:24:12 2015 +0100

    l3build: Allow local diff choice on Windows
    
    Feature request from JB.
---
 l3build/l3build.lua |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 1985a51..3385a89 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -374,8 +374,8 @@ end
 -- the support functions
 if os.type == "windows" then
   os_concat   = "&"
-  os_diffext  = ".fc"
-  os_diffexe  = "fc /n"
+  os_diffext  = os.getenv("diffext") or ".fc"
+  os_diffexe  = os.getenv("diffexe") or "fc /n"
   os_grepexe  = "findstr /r"
   os_newline  = "\r\n"
   os_null     = "nul"
@@ -385,8 +385,8 @@ if os.type == "windows" then
   os_yes      = "for /l %I in (1,1,200) do @echo y"
 else
   os_concat   = ";"
-  os_diffext  = ".diff"
-  os_diffexe  = "diff -c --strip-trailing-cr"
+  os_diffext  = os.getenv("diffext") or ".diff"
+  os_diffexe  = os.getenv("diffexe") or "diff -c --strip-trailing-cr"
   os_grepexe  = "grep"
   os_newline  = "\n"
   os_null     = "/dev/null"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list