From f375b5cb91a8c7d2ef49873c6fb8ea8786f1c649 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 23 Mar 2011 17:24:48 +0100 Subject: [PATCH] submit $__cdist_out_object_dir to cdist-code-run on target host Signed-off-by: Nico Schottelius --- bin/cdist-code-run-all | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/cdist-code-run-all b/bin/cdist-code-run-all index 3a360715..607929ce 100755 --- a/bin/cdist-code-run-all +++ b/bin/cdist-code-run-all @@ -43,8 +43,9 @@ while [ $# -ge 1 ]; do || __cdist_exit_err "Remote code failed for $object" # Code remote - cdist-run-remote "$__cdist_target_host" "cdist-code-run" \ - "${__cdist_remote_out_object_base_dir}" "$object" \ - "${__cdist_name_gencode_remote}" \ + cdist-run-remote "$__cdist_target_host" \ + "__cdist_out_object_dir=\"$__cdist_remote_out_object_base_dir\" \ + "cdist-code-run" "${__cdist_remote_out_object_base_dir}" "$object" \ + "${__cdist_name_gencode_remote}" \ || __cdist_exit_err "Remote code failed for $object" done < "$__cdist_tmp_file"