summaryrefslogtreecommitdiff
path: root/support/arara/scripts/arara.sh
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-05 03:00:59 +0000
committerNorbert Preining <norbert@preining.info>2020-03-05 03:00:59 +0000
commit898048513951b471a492afa23e46112d14bcb236 (patch)
tree8596afc705f55d2d07b324a756f7283ac0e2d21b /support/arara/scripts/arara.sh
parent19d25b8009801aa98ea2f46b45c37c257f990491 (diff)
CTAN sync 202003050300
Diffstat (limited to 'support/arara/scripts/arara.sh')
-rw-r--r--support/arara/scripts/arara.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/arara/scripts/arara.sh b/support/arara/scripts/arara.sh
index 197228f491..12efa361a6 100644
--- a/support/arara/scripts/arara.sh
+++ b/support/arara/scripts/arara.sh
@@ -3,7 +3,7 @@
# Note from Paulo: this script provides better Cygwin support than our original
# approach, so the team decided to use it as a proper wrapper for arara as well.
-scriptname=`basename "$0"`
+scriptname=`basename "$0" .sh`
jar="$scriptname.jar"
jarpath=`kpsewhich --progname="$scriptname" --format=texmfscripts "$jar"`
@@ -14,4 +14,4 @@ if echo "$kernel" | grep CYGWIN >/dev/null; then
jarpath=`cygpath -w "$jarpath"`
fi
-exec java -jar "$jarpath" "$@"
+exec java -jar "$jarpath" "$@" \ No newline at end of file