mirror of
				https://github.com/factoriotools/factorio-docker.git
				synced 2025-10-31 00:48:07 +01:00 
			
		
		
		
	Cleanup shebangs, add set -eou[x] pipefail to all files
This commit is contained in:
		| @@ -1,7 +1,5 @@ | ||||
| #!/bin/bash -x | ||||
| set -euo pipefail | ||||
|  | ||||
| id | ||||
| #!/bin/bash | ||||
| set -eoux pipefail | ||||
|  | ||||
| FACTORIO_VOL=/factorio | ||||
| mkdir -p "$FACTORIO_VOL" | ||||
|   | ||||
| @@ -1,4 +1,5 @@ | ||||
| #!/bin/bash | ||||
| set -eou pipefail | ||||
|  | ||||
| if [[ -f /run/secrets/username ]]; then | ||||
|   USERNAME=$(cat /run/secrets/username) | ||||
|   | ||||
| @@ -1,10 +1,9 @@ | ||||
| #!/bin/bash -x | ||||
| if [ -z "$1" ]; then | ||||
| #!/bin/bash | ||||
| set -eoux pipefail | ||||
|   echo "No argument supplied" | ||||
| fi | ||||
| SERVER_SCENARIO="$1" | ||||
|  | ||||
| set -euo pipefail | ||||
|  | ||||
| id | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| #!/bin/bash -x | ||||
| if [ -z "$1" ]; then | ||||
| #!/bin/bash | ||||
| set -eoux pipefail | ||||
|   echo "No argument supplied" | ||||
| fi | ||||
| SERVER_SCENARIO="$1" | ||||
|   | ||||
| @@ -1,4 +1,5 @@ | ||||
| #!/bin/bash | ||||
| set -eou pipefail | ||||
|  | ||||
| FACTORIO_VERSION=$1 | ||||
| MOD_DIR=$2 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user