Added a missing env.var. for the Docker container.

master
Pacman Ghost 3 years ago
parent 0efccd37e7
commit e0edff9b16
  1. 4
      run-container.sh

@ -32,7 +32,7 @@ function print_help {
-p --port Web server port number. -p --port Web server port number.
--vassal VASSAL installation directory. --vassal VASSAL installation directory.
-v --vasl Path to the VASL module file (.vmod ). -v --vasl Path to the VASL module file (.vmod).
-e --vasl-extensions Path to the VASL extensions directory. -e --vasl-extensions Path to the VASL extensions directory.
--boards Path to the VASL boards. --boards Path to the VASL boards.
--chapter-h Path to the Chapter H notes directory. --chapter-h Path to the Chapter H notes directory.
@ -180,7 +180,7 @@ if [ -n "$VASL_MOD" ]; then
fi fi
mpoint=/data/vasl.vmod mpoint=/data/vasl.vmod
VASL_MOD_VOLUME="--volume $target:$mpoint" VASL_MOD_VOLUME="--volume $target:$mpoint"
VASL_MOD_ENV="--env VASL_MOD=$mpoint --env VASL_MOD_TARGET" VASL_MOD_ENV="--env VASL_MOD=$mpoint --env VASL_MOD_TARGET=$target"
fi fi
# check if a VASL extensions directory has been specified # check if a VASL extensions directory has been specified

Loading…
Cancel
Save