Replaced shebangs using /usr/bin/env

dehydrated
Felix Stupp 5 years ago
parent d66a4b5b24
commit a4b47021c3
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -euxo pipefail; set -euxo pipefail;

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env sh
# Usage: <url> <fpr> <keyring> # Usage: <url> <fpr> <keyring>

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -euxo pipefail; set -euxo pipefail;

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -euxo pipefail; set -euxo pipefail;

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
readonly REPO={{ repo | quote }}; readonly REPO={{ repo | quote }};
readonly DEST={{ dest | quote }}; readonly DEST={{ dest | quote }};

@ -1,2 +1,2 @@
#!/bin/sh #!/usr/bin/env sh
{{ global_helper_directory }}/backup_files.sh {{ backup_directory | quote }} {{ domain | quote }} {{ global_helper_directory }}/backup_files.sh {{ backup_directory | quote }} {{ domain | quote }}

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env sh
for v in 4 6; do for v in 4 6; do
curl --silent --show-error --ipv$v {{ discover_server_url | quote }}; curl --silent --show-error --ipv$v {{ discover_server_url | quote }};

@ -1,2 +1,2 @@
#!/bin/sh #!/usr/bin/env sh
{{ global_helper_directory }}/backup_mysql_database.sh {{ database_name | quote }} {{ global_helper_directory }}/backup_mysql_database.sh {{ database_name | quote }}

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
readonly CHECKSUM_TYPE="sha256"; readonly CHECKSUM_TYPE="sha256";
readonly CHECKSUM_APP="${CHECKSUM_TYPE}sum"; readonly CHECKSUM_APP="${CHECKSUM_TYPE}sum";

@ -1,2 +1,2 @@
#!/bin/sh #!/usr/bin/env sh
{{ mcrcon_directory | quote }}/mcrcon -H localhost -P {{ minecraft_rcon_port | quote }} -p {{ minecraft_rcon_password | quote }} "$@" {{ mcrcon_directory | quote }}/mcrcon -H localhost -P {{ minecraft_rcon_port | quote }} -p {{ minecraft_rcon_password | quote }} "$@"

@ -1,2 +1,2 @@
#!/bin/sh #!/usr/bin/env sh
/usr/lib/jvm/java-{{ java_version }}-openjdk-amd64/bin/java -Xms{{ minecraft_start_ram | quote }} -Xmx{{ minecraft_max_ram | quote }} -jar {{ installation_directory | quote }}/server.jar nogui /usr/lib/jvm/java-{{ java_version }}-openjdk-amd64/bin/java -Xms{{ minecraft_start_ram | quote }} -Xmx{{ minecraft_max_ram | quote }} -jar {{ installation_directory | quote }}/server.jar nogui

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
readonly CHECKSUM_TYPE="sha256"; readonly CHECKSUM_TYPE="sha256";
readonly CHECKSUM_APP="${CHECKSUM_TYPE}sum"; readonly CHECKSUM_APP="${CHECKSUM_TYPE}sum";

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -euxo pipefail; set -euxo pipefail;

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -euxo pipefail; set -euxo pipefail;

Loading…
Cancel
Save