cleanups + new __cdist_exit_err
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
97a14fe933
commit
f7f687995b
5 changed files with 23 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue