From dac08621735a520632be9ae86041a7742b7fbbe5 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 9 Jun 2024 18:53:11 +0200 Subject: [PATCH] chmod +x + fix help and formatting --- image_builder | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 image_builder diff --git a/image_builder b/image_builder old mode 100644 new mode 100755 index f663a7c..8ccd609 --- a/image_builder +++ b/image_builder @@ -6,7 +6,7 @@ function help() { cat << EOF -Usage: ./script.sh [command] [additional args...] +Usage: ./image_builder [command] [additional args...] The 'base' image is after yunohost install script, but before postinstall. It is fetched by ynh-dev for local development. The 'appci' image is after postinstall, with a first user named 'package_checker' as expected by the CI (package_check) @@ -24,7 +24,8 @@ Arguments: EOF } -function main { +function main() +{ KNOWN_COMMANDS=$(declare -F | awk '{print $3}') if [ -z "$1" ] || [ "$1" == "--help" ] then