implement $__self

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-03-29 15:27:17 +02:00
commit 32392d129a
3 changed files with 5 additions and 0 deletions

View file

@ -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")"