aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJybz <j.biernacki@free.fr>2021-02-19 21:33:49 +0100
committerJybz <j.biernacki@free.fr>2021-02-19 21:33:49 +0100
commit9ff30d9caa19f75d2b7f4240b58e2754f085085b (patch)
treeb3d31629c960d7f9463a7c8bc24c8830d0508b3e
parentd8c645e8581c3c7b99a0c755ea6572cb8aabbf23 (diff)
downloadmageia4arm-9ff30d9caa19f75d2b7f4240b58e2754f085085b.tar
mageia4arm-9ff30d9caa19f75d2b7f4240b58e2754f085085b.tar.gz
mageia4arm-9ff30d9caa19f75d2b7f4240b58e2754f085085b.tar.bz2
mageia4arm-9ff30d9caa19f75d2b7f4240b58e2754f085085b.tar.xz
mageia4arm-9ff30d9caa19f75d2b7f4240b58e2754f085085b.zip
Fix double help function in build_all.sh
-rwxr-xr-xbuild_all.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/build_all.sh b/build_all.sh
index 818b446..81dd93c 100755
--- a/build_all.sh
+++ b/build_all.sh
@@ -32,14 +32,11 @@ CONFIG_FILE_ERROR=-1
unset exit
function help() {
- echo -e "${CMDNAME} [option]"
+ echo -e "${CMDNAME} [option]\n"
+ echo -e "Synopsis:"
+ echo -e "\tGenerates Mageia images for all SBC defined in the mageia4arm.conf.json file.\n"
echo -e "Options:"
- echo -e "--config file Specify a config file, by default /etc/mageia4arm.conf.json"
-}
-
-function help() {
- echo -e "${CMDNAME}"
- echo -e "Generates Mageia images for all SBC defined in the mageia4arm.conf.json file."
+ echo -e "\t--config file Specify a config file, by default /etc/mageia4arm.conf.json"
}
case $(hostname) in