diff options
Diffstat (limited to 'Master/texmf-dist/context/data/textadept/context/textadept-context.sh')
-rw-r--r-- | Master/texmf-dist/context/data/textadept/context/textadept-context.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/context/data/textadept/context/textadept-context.sh b/Master/texmf-dist/context/data/textadept/context/textadept-context.sh new file mode 100644 index 00000000000..5f613ccf8cd --- /dev/null +++ b/Master/texmf-dist/context/data/textadept/context/textadept-context.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# copied from setuptex + +if [ z"$BASH_SOURCE" != z ]; then + textadept -u $(cd -P -- "$(dirname -- "$BASH_SOURCE")" && pwd -P) "$@" & +elif [ z"$KSH_VERSION" != z ]; then + textadept -u $(cd -P -- "$(dirname -- "${.sh.file}")" && pwd -P) "$@" & +else + textadept -u $(cd -P -- "$(dirname -- "$0")" && pwd -P) "$@" & +fi + |