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
* add evobackupctl script
* change the "zzz_evobackup" script to a template, easy to copy with evobackupctl
* use env-based shebang for shell scripts
### Deprecated

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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