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.
1 parent e38894d commit e0e94baCopy full SHA for e0e94ba
dist/mospeed.sh
@@ -1 +1,9 @@
1
-java -Xmx768m -cp basicv2.jar:dist/basicv2.jar com.sixtyfour.cbmnative.shell.MoSpeedCL $@
+#!/bin/bash
2
+# Resolve the directory of this script
3
+SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
4
+
5
+echo "Running from $SCRIPT_DIR"
6
7
+# Run Java using classpath relative to the script's directory
8
+java -Xmx768m -cp "$SCRIPT_DIR/basicv2.jar:$SCRIPT_DIR/dist/basicv2.jar" com.sixtyfour.cbmnative.shell.MoSpeedCL "$@"
9
0 commit comments