Skip to content

Commit

Permalink
Merge pull request #12159 from uckelman/spaces_in_paths
Browse files Browse the repository at this point in the history
Correctly handle install paths containing spaces in VASSAL.sh
  • Loading branch information
uckelman authored Mar 30, 2023
2 parents 92289d3 + 762f086 commit c64b45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/VASSAL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi
# Dereference any possible symbolic link to executable script, then find
# absolute path where VASSAL is installed
EXEC_PATH=$(realpath "$0")
INSTALL_DIR=$(dirname ${EXEC_PATH})
INSTALL_DIR=$(dirname "${EXEC_PATH}")

# Check that java is new enough
if ! "$JAVA" -classpath "$INSTALL_DIR"/lib/Vengine.jar VASSAL.launch.JavaVersionChecker 2>/dev/null ; then
Expand Down

0 comments on commit c64b45a

Please sign in to comment.