Use env-based shebang for shell scripts

This commit is contained in:
Jérémy Lecour 2024-01-09 08:48:42 +01:00 committed by Jérémy Lecour
parent 7a9663781d
commit f3e25a7beb
Signed by: jlecour
SSH key fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY
7 changed files with 7 additions and 6 deletions

View file

@ -20,6 +20,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* split functions into libraries * split functions into libraries
* add evobackupctl script * add evobackupctl script
* change the "zzz_evobackup" script to a template, easy to copy with evobackupctl * change the "zzz_evobackup" script to a template, easy to copy with evobackupctl
* use env-based shebang for shell scripts
### Deprecated ### Deprecated

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# shellcheck disable=SC2155 # shellcheck disable=SC2155
readonly PROGNAME=$(basename "${0}") readonly PROGNAME=$(basename "${0}")

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# shellcheck disable=SC2034,SC2317,SC2155 # shellcheck disable=SC2034,SC2317,SC2155
####################################################################### #######################################################################

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# shellcheck disable=SC2034,SC2317,SC2155 # shellcheck disable=SC2034,SC2317,SC2155
####################################################################### #######################################################################

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# shellcheck disable=SC2034,SC2317 # shellcheck disable=SC2034,SC2317
readonly VERSION="23.12-pre" readonly VERSION="23.12-pre"

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Output a message to the log file # Output a message to the log file
log() { log() {

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# Evobackup client # Evobackup client
# See https://gitea.evolix.org/evolix/evobackup # See https://gitea.evolix.org/evolix/evobackup