summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2017-08-29 08:50:20 +0000
committerNorbert Preining <preining@logic.at>2017-08-29 08:50:20 +0000
commit522b09f6dae03bc47e2b5fcc60c57b0fb9e73655 (patch)
treebf6e15577a927621465bbc266de4c9701fda7c3a /Master/texmf-dist/scripts
parent9f88fd587070a79442ca6027be4fbbd47661b498 (diff)
add links to tlcockpit runner
git-svn-id: svn://tug.org/texlive/trunk@45159 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/tlcockpit/tlcockpit-runner.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/tlcockpit/tlcockpit-runner.sh b/Master/texmf-dist/scripts/tlcockpit/tlcockpit-runner.sh
new file mode 100755
index 00000000000..1b24959acd5
--- /dev/null
+++ b/Master/texmf-dist/scripts/tlcockpit/tlcockpit-runner.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+kernel=`uname -s`
+if test "${kernel#*CYGWIN}" != "$kernel"
+then
+ jarpath=`cygpath -w $(kpsewhich --progname=tlcockpit --format=texmfscripts tlcockpit.jar)`
+else
+ jarpath=`kpsewhich --progname=tlcockpit --format=texmfscripts tlcockpit.jar`
+fi
+java -jar "$jarpath"