tell user which codegen block is executed

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-25 01:18:02 +01:00
parent 8aa560d111
commit 9ce7d55a29

View file

@ -24,7 +24,7 @@
. cdist-config
if [ $# -ne 3 ]; then
if [ $# -ne 2 ]; then
__cdist_usage "<target host> <object_base_dir>"
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" \