We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fac0a48 + d1c54c9 commit 66360dcCopy full SHA for 66360dc
scripts/runjava.bat
@@ -3,7 +3,7 @@
3
setlocal EnableDelayedExpansion
4
5
set CP=
6
-for %%F in (*.jar) do set CP=!CP!;%%F
+for %%F in ("%~dp0"/*.jar) do set CP=!CP!;%%F
7
8
java -cp %CP% %1 %2 %3 %4 %5 %6 %7 %8 %9
9
scripts/runjava.sh
@@ -1,7 +1,7 @@
1
#!/bin/sh
2
RABBIT_JARS=
-for d in *.jar
+for d in `dirname $0`/*.jar
do
RABBIT_JARS="$d:$RABBIT_JARS"
done
-exec java -cp "$RABBIT_JARS" "$@"
+exec java -cp "$RABBIT_JARS" "$@"
0 commit comments