Skip to content

Commit

Permalink
master_branch needs to be global
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Feb 5, 2020
1 parent 9e418b5 commit 16efac3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16efac3

Please sign in to comment.