Skip to content

Commit 5f1535c

Browse files
committed
Use restricted shell for manual
1 parent 9ae4153 commit 5f1535c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ CONTRIBUTION = gitinfo-lua
22
VERSION = $(shell git describe --tags --always)
33
FILE = ${CONTRIBUTION}-${VERSION}.tar.gz
44
MANUAL = doc/${CONTRIBUTION}
5-
CNF_LINE = -cnf-line TEXMFHOME={${CURDIR},$(shell kpsewhich --var-value TEXMFHOME)}
6-
COMPILER = lualatex --shell-escape --interaction=nonstopmode $(CNF_LINE)
5+
CNF_LINE = -cnf-line TEXMFHOME={${CURDIR},$(shell kpsewhich --var-value TEXMFHOME)} -cnf-line shell_escape_commands=git
6+
COMPILER = lualatex --shell-restricted --interaction=nonstopmode $(CNF_LINE)
77
RM = rm
88
ifeq ($(OS),Windows_NT)
99
RM = del

0 commit comments

Comments
 (0)