[latex3-commits] [git/LaTeX3-latex3-latex2e] develop, master: master_branch needs to be global (16efac3d)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Feb 5 16:17:42 CET 2020


Repository : https://github.com/latex3/latex2e
On branches: develop,master
Link       : https://github.com/latex3/latex2e/commit/16efac3d2a68009698384820d32b5c83b2319495

>---------------------------------------------------------------

commit 16efac3d2a68009698384820d32b5c83b2319495
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Feb 3 10:34:15 2020 +0000

    master_branch needs to be global


>---------------------------------------------------------------

16efac3d2a68009698384820d32b5c83b2319495
 build-config.lua | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build-config.lua b/build-config.lua
index 42864f6a..963a4b99 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -64,9 +64,11 @@ if unpacksearch == nil then
 end
 
 -- Allow for 'dev' release
+--
+-- This must be global as it is needed by the base file to set up MakeIndex
+master_branch = true
 -- See stackoverflow.com/a/12142066/212001
 local errorlevel = os.execute("git rev-parse --abbrev-ref HEAD > branch.tmp")
-local master_branch = true
 if errorlevel ~= 0 then
   exit(1)
 else





More information about the latex3-commits mailing list.