[latex3-commits] [l3svn] 02/20: l3build: Simplify a test

noreply at latex-project.org noreply at latex-project.org
Fri Apr 14 23:38:55 CEST 2017


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

joseph pushed a commit to branch master
in repository l3svn.

commit b6272415270295b1e4326266c641d1be7647be32
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Apr 14 17:08:55 2017 +0100

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

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index e16fa21..dfa1668 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -38,7 +38,7 @@ bundle = bundle or ""
 
 -- Sanity check
 if module == "" and bundle == "" then
-  if string.match(arg[0], ".*l3build%.lua$") then
+  if string.match(arg[0], "l3build%.lua$") then
     print(
       "\n"
         .. "Error: Call l3build using a configuration file, not directly.\n"

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


More information about the latex3-commits mailing list