summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpsrc
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-10-30 03:57:01 +0000
committerNorbert Preining <preining@logic.at>2009-10-30 03:57:01 +0000
commitd5c1b9edc9c0a0c14191a00871f3a9f68a1818f3 (patch)
treecfce72973cb614212516fbe8e3e84396e16eadc9 /Master/tlpkg/tlpsrc
parentaa4c27a1c7205d81482caec4168e8f5ed60c5433 (diff)
fix for unsecure calls in menu items, the progs have to be quoted since
TEXDIR can empbed spaces git-svn-id: svn://tug.org/texlive/trunk@15905 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlpsrc')
-rw-r--r--Master/tlpkg/tlpsrc/dviout.win32.tlpsrc2
-rw-r--r--Master/tlpkg/tlpsrc/texworks.tlpsrc2
-rw-r--r--Master/tlpkg/tlpsrc/tlpsv.win32.tlpsrc6
3 files changed, 5 insertions, 5 deletions
diff --git a/Master/tlpkg/tlpsrc/dviout.win32.tlpsrc b/Master/tlpkg/tlpsrc/dviout.win32.tlpsrc
index 803fdd40da1..626e3daf527 100644
--- a/Master/tlpkg/tlpsrc/dviout.win32.tlpsrc
+++ b/Master/tlpkg/tlpsrc/dviout.win32.tlpsrc
@@ -4,5 +4,5 @@ binpattern f/win32 bin/win32/dviout
postaction shortcut type=menu name="DVIOUT DVI viewer" \
cmd=TEXDIR/bin/win32/dviout.bat hide=1 \
icon=TEXDIR/tlpkg/dviout/dviout.exe
-postaction filetype name=TL.DVIOUT.view cmd='TEXDIR/bin/win32/dviout.bat "%1"'
+postaction filetype name=TL.DVIOUT.view cmd='"TEXDIR/bin/win32/dviout.bat" "%1"'
postaction fileassoc extension=.dvi filetype=TL.DVIOUT.view
diff --git a/Master/tlpkg/tlpsrc/texworks.tlpsrc b/Master/tlpkg/tlpsrc/texworks.tlpsrc
index 482c7704fbb..f585d9f8f8f 100644
--- a/Master/tlpkg/tlpsrc/texworks.tlpsrc
+++ b/Master/tlpkg/tlpsrc/texworks.tlpsrc
@@ -6,7 +6,7 @@ postaction shortcut type=desktop name="TeXworks editor" \
icon=TEXDIR/tlpkg/texworks/TeXworks.exe \
cmd=TEXDIR/bin/win32/texworks.bat hide=1
postaction filetype name=TL.TeXworks.edit \
- cmd='TEXDIR/bin/win32/texworks.bat "%1"'
+ cmd='"TEXDIR/bin/win32/texworks.bat" "%1"'
postaction fileassoc extension=.tex filetype=TL.TeXworks.edit
postaction fileassoc extension=.sty filetype=TL.TeXworks.edit
postaction fileassoc extension=.cls filetype=TL.TeXworks.edit
diff --git a/Master/tlpkg/tlpsrc/tlpsv.win32.tlpsrc b/Master/tlpkg/tlpsrc/tlpsv.win32.tlpsrc
index e83ea533f43..8c8d5ce9185 100644
--- a/Master/tlpkg/tlpsrc/tlpsv.win32.tlpsrc
+++ b/Master/tlpkg/tlpsrc/tlpsv.win32.tlpsrc
@@ -3,9 +3,9 @@ category TLCore
# all the archs are created
binpattern f/win32 bin/win32/psv
runpattern d tlpkg/tlpsv
-postaction shortcut type=menu name="PS_View" icon=TEXDIR/tlpkg/tlpsv/psv.exe cmd=TEXDIR/bin/win32/psv.bat hide=1
-postaction shortcut type=desktop name="PS_View" icon=TEXDIR/tlpkg/tlpsv/psv.exe cmd=TEXDIR/bin/win32/psv.bat hide=1
-postaction filetype name=TL.PSView.view cmd='TEXDIR/bin/win32/psv.bat "%1"'
+postaction shortcut type=menu name="PS_View" icon=TEXDIR/tlpkg/tlpsv/psv.exe cmd='"TEXDIR/bin/win32/psv.bat"' hide=1
+postaction shortcut type=desktop name="PS_View" icon=TEXDIR/tlpkg/tlpsv/psv.exe cmd='"TEXDIR/bin/win32/psv.bat"' hide=1
+postaction filetype name=TL.PSView.view cmd='"TEXDIR/bin/win32/psv.bat" "%1"'
postaction fileassoc extension=.eps filetype=TL.PSView.view
postaction fileassoc extension=.ps filetype=TL.PSView.view
postaction fileassoc extension=.pdf filetype=TL.PSView.view