summaryrefslogtreecommitdiff
path: root/support/arara/scripts/arara.sh
diff options
context:
space:
mode:
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