summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-07-01 22:49:11 +0000
committerKarl Berry <karl@freefriends.org>2009-07-01 22:49:11 +0000
commit800a68c18e636f07a91c5dd9fdf10fd12fa94d1f (patch)
tree4d20019b99173e91a911afa1564a8097cb3f6889 /Build
parentf053042e74dd79389298cbcc50749980bf74cbe7 (diff)
handle pdf_shell_escape_code a la pdftex
git-svn-id: svn://tug.org/texlive/trunk@14048 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/xetexdir/xetex-latex3.ch5
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/xetexdir/xetex-latex3.ch b/Build/source/texk/web2c/xetexdir/xetex-latex3.ch
index 87d8cb4a85c..ee12e225ee1 100644
--- a/Build/source/texk/web2c/xetexdir/xetex-latex3.ch
+++ b/Build/source/texk/web2c/xetexdir/xetex-latex3.ch
@@ -387,7 +387,10 @@ is_in_csname := false;
badness_code: cur_val:=last_badness;
pdf_shell_escape_code:
begin
- if shellenabledp then cur_val := 1
+ if shellenabledp then begin
+ if restrictedshell then cur_val := 2
+ else cur_val := 1;
+ end
else cur_val := 0;
end;
@z