[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: master_branch needs to be global (1aa7e959)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Feb 3 11:34:15 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/1aa7e959970c7a7583b4a5fb403381ccc2d0ffb0

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

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

    master_branch needs to be global


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

1aa7e959970c7a7583b4a5fb403381ccc2d0ffb0
 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.