++__cdist_echo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
ec513eae49
commit
8924a9583d
2 changed files with 5 additions and 1 deletions
|
@ -175,6 +175,10 @@ __cdist_echo()
|
||||||
error)
|
error)
|
||||||
echo $__cdist_echo_prefix "Error: $@" >&2
|
echo $__cdist_echo_prefix "Error: $@" >&2
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
echo "CORE BUG, who created the broken commit?" >&2
|
||||||
|
exit 23
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ if [ "$__cdist_has_explorer" ]; then
|
||||||
if ! __cdist_type_explorer_pushed "$__cdist_type"; then
|
if ! __cdist_type_explorer_pushed "$__cdist_type"; then
|
||||||
src_dir="$(__cdist_type_explorer_dir "$__cdist_type")"
|
src_dir="$(__cdist_type_explorer_dir "$__cdist_type")"
|
||||||
dst_dir="$(__cdist_remote_type_explorer_dir "$__cdist_type")"
|
dst_dir="$(__cdist_remote_type_explorer_dir "$__cdist_type")"
|
||||||
echo "Transfering explorers for $__cdist_type ..."
|
__cdist_echo info "Transfering explorers for $__cdist_type ..."
|
||||||
cdist-dir push "$__cdist_target_host" "$src_dir" "$dst_dir"
|
cdist-dir push "$__cdist_target_host" "$src_dir" "$dst_dir"
|
||||||
__cdist_type_explorer_pushed_add "$__cdist_type"
|
__cdist_type_explorer_pushed_add "$__cdist_type"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue