replace CONSTANT target host by variable target host

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.5
Nico Schottelius 14 years ago
parent 8315ac2e25
commit a46c0a4372
  1. 2
      bin/cdist-object-push

@ -29,7 +29,7 @@ set -eu
__cdist_target_host="$1"; shift __cdist_target_host="$1"; shift
__cdist_object="$1"; shift __cdist_object="$1"; shift
echo "Transferring object $__cdist_object to target host ..." echo "Transferring object $__cdist_object to $__cdist_target_host ..."
cdist-dir push "$__cdist_target_host" \ cdist-dir push "$__cdist_target_host" \
"$(__cdist_object_dir "$__cdist_object")" \ "$(__cdist_object_dir "$__cdist_object")" \
"$(__cdist_remote_object_dir "$__cdist_object")" "$(__cdist_remote_object_dir "$__cdist_object")"

Loading…
Cancel
Save