diff --git a/README.md b/README.md index fb0f9dcd..fca1939f 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ By default, the container will download the latest version of the "vanilla" [Min * [Enabling Autopause](#enabling-autopause) * [Running on RaspberryPi](#running-on-raspberrypi) - + diff --git a/start-finalSetupMounts b/start-finalSetupMounts index c96b12cd..2efe364f 100755 --- a/start-finalSetupMounts +++ b/start-finalSetupMounts @@ -25,16 +25,16 @@ fi if [ -d /mods ]; then log "Copying any mods over..." - mkdir -p $COPY_MODS_DEST - rsync -a --out-format="update:%f:Last Modified %M" "${rsyncArgs[@]}" --prune-empty-dirs --update /mods/ $COPY_MODS_DEST + mkdir -p "${COPY_MODS_DEST}" + rsync -a --out-format="update:%f:Last Modified %M" "${rsyncArgs[@]}" --prune-empty-dirs --update /mods/ "${COPY_MODS_DEST}" fi : ${COPY_CONFIG_DEST:="/data/config"} if [ -d /config ]; then - log "Copying any configs from /config to $COPY_CONFIG_DEST" - mkdir -p $COPY_CONFIG_DEST - rsync -a --out-format="update:%f:Last Modified %M" "${rsyncArgs[@]}" --prune-empty-dirs --update /config/ $COPY_CONFIG_DEST + log "Copying any configs from /config to ${COPY_CONFIG_DEST}" + mkdir -p "${COPY_CONFIG_DEST}" + rsync -a --out-format="update:%f:Last Modified %M" "${rsyncArgs[@]}" --prune-empty-dirs --update /config/ "${COPY_CONFIG_DEST}" fi exec ${SCRIPTS:-/}start-finalSetupServerProperties $@