mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
lib: shellfmt & fix gen-library to match
This commit is contained in:
committed by
Igor Pečovnik
parent
ded6d1e319
commit
22059c2669
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user