cleanups + new __cdist_exit_err

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-02 14:55:28 +01:00
commit f7f687995b
5 changed files with 23 additions and 7 deletions

View file

@ -22,13 +22,13 @@
# And save it into the cache tree
#
#[ $# -eq 1 ] || __cdist_usage "cconf"
. cdist-config
[ "${__cdist_target_host}" ] || __cdist_usage "Need \$__cdist_target_host setup"
set -au
cdist_tree_wrapper="$(which cdist_tree_wrapper)"
__cdist_tree_wrapper="$(which cdist_tree_wrapper)"
# used to build the tree and other stuff
__cdist_bindir="${__cdist_tmp_dir}/bin"