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