From 6800bbff10456ce92a1f0c629f3052e4bdd54042 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 20 Mar 2011 02:01:23 +0100 Subject: [PATCH] call new name in requirement block Signed-off-by: Nico Schottelius --- bin/cdist-code-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/cdist-code-run b/bin/cdist-code-run index 42b4901d..9528650d 100755 --- a/bin/cdist-code-run +++ b/bin/cdist-code-run @@ -23,7 +23,7 @@ . cdist-config [ $# -eq 3 ] || __cdist_usage " " -set -ue +set -uex # This variable MUST be exactly like this - see __cdist_object_dir __cdist_out_object_dir="$1"; shift @@ -50,7 +50,7 @@ echo "Checking code-${__cdist_gencode_type} for $object ..." if [ -f "$require" ]; then while read requirement; do echo "Requiring dependency $requirement for $object ..." - cdist-remote-code-run "$__cdist_out_object_dir" "$requirement" + cdist-code-run "$__cdist_out_object_dir" "$requirement" "$__cdist_gencode_type" done < "$require" fi