[latex3-commits] [l3svn] branch master updated: l3build: Simplify platform test

noreply at latex-project.org noreply at latex-project.org
Fri Sep 4 13:32:00 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  4aa52a0   l3build: Simplify platform test
4aa52a0 is described below

commit 4aa52a086979709df3c5e8eb25ddda5d8691c8d0
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Sep 4 12:18:38 2015 +0100

    l3build: Simplify platform test
---
 l3build/l3build.lua |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 891e3f0..912dccf 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -372,7 +372,7 @@ end
 -- Support items are defined here for cases where a single string can cover
 -- both Windows and Unix cases: more complex situations are handled inside
 -- the support functions
-if string.sub(package.config, 1, 1) == "\\" then
+if os.type == "windows" then
   os_concat   = "&"
   os_diffext  = ".fc"
   os_diffexe  = "fc /n"

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


More information about the latex3-commits mailing list