summaryrefslogtreecommitdiff
path: root/Master/bin/x86_64-darwinlegacy/tlcockpit
diff options
context:
space:
mode:
Diffstat (limited to 'Master/bin/x86_64-darwinlegacy/tlcockpit')
-rwxr-xr-xMaster/bin/x86_64-darwinlegacy/tlcockpit10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/bin/x86_64-darwinlegacy/tlcockpit b/Master/bin/x86_64-darwinlegacy/tlcockpit
new file mode 100755
index 00000000000..1b24959acd5
--- /dev/null
+++ b/Master/bin/x86_64-darwinlegacy/tlcockpit
@@ -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"