forked from ungleich-public/cdist
implement $__self
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
801d2be3d2
commit
32392d129a
3 changed files with 5 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ set -eu
|
|||
|
||||
__cdist_target_host="$1"; shift
|
||||
__cdist_object="$1"; shift
|
||||
# Export to non-core for use in manifest and gencode scripts
|
||||
export $__cdist_name_var_self=$__cdist_object
|
||||
|
||||
__cdist_type="$(__cdist_type_from_object "$__cdist_object")"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue