Skip to content

Commit

Permalink
Use restricted shell for manual
Browse files Browse the repository at this point in the history
  • Loading branch information
MacLotsen committed Apr 6, 2024
1 parent 9ae4153 commit 5f1535c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ CONTRIBUTION = gitinfo-lua
VERSION = $(shell git describe --tags --always)
FILE = ${CONTRIBUTION}-${VERSION}.tar.gz
MANUAL = doc/${CONTRIBUTION}
CNF_LINE = -cnf-line TEXMFHOME={${CURDIR},$(shell kpsewhich --var-value TEXMFHOME)}
COMPILER = lualatex --shell-escape --interaction=nonstopmode $(CNF_LINE)
CNF_LINE = -cnf-line TEXMFHOME={${CURDIR},$(shell kpsewhich --var-value TEXMFHOME)} -cnf-line shell_escape_commands=git
COMPILER = lualatex --shell-restricted --interaction=nonstopmode $(CNF_LINE)
RM = rm
ifeq ($(OS),Windows_NT)
RM = del
Expand Down

0 comments on commit 5f1535c

Please sign in to comment.