mirror of
				https://github.com/factoriotools/factorio-docker.git
				synced 2025-10-31 08:58:08 +01:00 
			
		
		
		
	using absolute path over relative path for subscripts (#538)
This commit is contained in:
		| @@ -1,5 +1,6 @@ | ||||
| #!/bin/bash | ||||
| set -eoux pipefail | ||||
| INSTALLED_DIRECTORY=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")") | ||||
| FACTORIO_VOL=/factorio | ||||
| LOAD_LATEST_SAVE="${LOAD_LATEST_SAVE:-true}" | ||||
| GENERATE_NEW_SAVE="${GENERATE_NEW_SAVE:-false}" | ||||
| @@ -40,10 +41,10 @@ if [[ $NRTMPSAVES -gt 0 ]]; then | ||||
| fi | ||||
|  | ||||
| if [[ ${UPDATE_MODS_ON_START:-} == "true" ]]; then | ||||
|   ./docker-update-mods.sh | ||||
|   ${INSTALLED_DIRECTORY}/docker-update-mods.sh | ||||
| fi | ||||
|  | ||||
| ./docker-dlc.sh | ||||
| ${INSTALLED_DIRECTORY}/docker-dlc.sh | ||||
|  | ||||
| EXEC="" | ||||
| if [[ $(id -u) == 0 ]]; then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user