diff --git a/client/CHANGELOG.md b/client/CHANGELOG.md index 1e112a7..67a571c 100644 --- a/client/CHANGELOG.md +++ b/client/CHANGELOG.md @@ -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 diff --git a/client/bin/evobackupctl b/client/bin/evobackupctl index f8d68c3..5be5efe 100644 --- a/client/bin/evobackupctl +++ b/client/bin/evobackupctl @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # shellcheck disable=SC2155 readonly PROGNAME=$(basename "${0}") diff --git a/client/lib/dump-misc.sh b/client/lib/dump-misc.sh index 92f6e2e..7fbdafe 100644 --- a/client/lib/dump-misc.sh +++ b/client/lib/dump-misc.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # shellcheck disable=SC2034,SC2317,SC2155 ####################################################################### diff --git a/client/lib/dump-postgresql.sh b/client/lib/dump-postgresql.sh index ebbe7d6..cfe4a80 100644 --- a/client/lib/dump-postgresql.sh +++ b/client/lib/dump-postgresql.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # shellcheck disable=SC2034,SC2317,SC2155 ####################################################################### diff --git a/client/lib/main.sh b/client/lib/main.sh index 2fcae8f..e1d1ecc 100644 --- a/client/lib/main.sh +++ b/client/lib/main.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # shellcheck disable=SC2034,SC2317 readonly VERSION="23.12-pre" diff --git a/client/lib/utilities.sh b/client/lib/utilities.sh index f451f13..d286195 100644 --- a/client/lib/utilities.sh +++ b/client/lib/utilities.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Output a message to the log file log() { diff --git a/client/lib/zzz_evobackup.sh b/client/lib/zzz_evobackup.sh index 5fea710..db922b0 100644 --- a/client/lib/zzz_evobackup.sh +++ b/client/lib/zzz_evobackup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Evobackup client # See https://gitea.evolix.org/evolix/evobackup