From 9b822683bcd9ec0453973b9d2855b9b195e6074b Mon Sep 17 00:00:00 2001 From: pvincent Date: Fri, 3 Apr 2026 22:20:57 +0400 Subject: [PATCH] recipe_args count valid --- recipes/helloworld.recipe | 7 ++----- tools/miaou-recipe | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/recipes/helloworld.recipe b/recipes/helloworld.recipe index 36e205a..3da8847 100644 --- a/recipes/helloworld.recipe +++ b/recipes/helloworld.recipe @@ -1,6 +1,3 @@ -echo "count: $#" -echo "args: $@" -echo "$1" -echo "$2" -echo "$3" +set -Eue +echo "arg_count=$#, args: $@" echo "Hello World from container: $(hostname -f)" diff --git a/tools/miaou-recipe b/tools/miaou-recipe index 5601649..0b993f2 100755 --- a/tools/miaou-recipe +++ b/tools/miaou-recipe @@ -8,7 +8,7 @@ SCRIPT='' DEBUG=false QUIET=false FORCE=${FORCE:-false} -RECIPE_ARGS= +RECIPE_ARGS=() # FUNCTIONS