lib: shellfmt & fix gen-library to match

This commit is contained in:
Ricardo Pardini
2023-04-16 16:26:18 +02:00
committed by Igor Pečovnik
parent ded6d1e319
commit 22059c2669
3 changed files with 1 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ function armbian_register_commands() {
["build"]="standard_build" # implemented in cli_standard_build_pre_run and cli_standard_build_run
["distccd"]="distccd" # implemented in cli_distccd_pre_run and cli_distccd_run
["flash"]="flash" # implemented in cli_flash_pre_run and cli_flash_run
["flash"]="flash" # implemented in cli_flash_pre_run and cli_flash_run
# external tooling, made easy.
["oras-upload"]="oras" # implemented in cli_oras_pre_run and cli_oras_run; up/down/info are the same, see vars below

View File

@@ -1153,7 +1153,6 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true
# shellcheck source=lib/functions/rootfs/trap-rootfs.sh
source "${SRC}"/lib/functions/rootfs/trap-rootfs.sh
# no errors tolerated. one last time for the win!
#set -o pipefail # trace ERR through pipes - will be enabled "soon"
#set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled

View File

@@ -42,7 +42,6 @@ find lib/functions -type f -name \*.sh | sort -h | while read -r path; do
done
cat <<- AUTOGEN_INCLUDES_FOOTER >> "${TARGET_SH}"
# no errors tolerated. one last time for the win!
#set -o pipefail # trace ERR through pipes - will be enabled "soon"
#set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled