From 9ce7d55a294e523ecbd5b5041e2f3a58ccb31018 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 25 Feb 2011 01:18:02 +0100 Subject: [PATCH] tell user which codegen block is executed Signed-off-by: Nico Schottelius --- bin/cdist-object-codegen-all | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/cdist-object-codegen-all b/bin/cdist-object-codegen-all index 98d4d9e0..204659dc 100755 --- a/bin/cdist-object-codegen-all +++ b/bin/cdist-object-codegen-all @@ -24,7 +24,7 @@ . cdist-config -if [ $# -ne 3 ]; then +if [ $# -ne 2 ]; then __cdist_usage " " fi @@ -37,6 +37,7 @@ __cdist_object_list "$__cdist_object_base_dir" > "$__cdist_tmp_file" while read object; do code="$(__cdist_object_code "$object")" + echo "Generating code for $object ..." cdist-object-codegen "$__cdist_target_host" \ "$__cdist_object_base_dir" \