forked from ungleich-public/cdist
rename __cdist_id to __cdist_object_id
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
494ee906f2
commit
43e6db264b
1 changed files with 3 additions and 3 deletions
|
@ -32,11 +32,11 @@ set -eu
|
|||
|
||||
echo "I am $__cdist_myname and have been called with $@"
|
||||
|
||||
__cdist_id="$1"; shift
|
||||
export __cdist_object_id="$1"; shift
|
||||
|
||||
echo "$__cdist_id" | grep -q "^${__cdist_sane_regexp}\$" || __cdist_usage "Provide sane id, please"
|
||||
echo "$__cdist_object_id" | grep -q "^${__cdist_sane_regexp}\$" || __cdist_usage "Provide sane id, please"
|
||||
|
||||
__cdist_tid="${__cdist_myname}/${__cdist_id}"
|
||||
__cdist_tid="${__cdist_myname}/${__cdist_object_id}"
|
||||
__cdist_ddir="$(__cdist_cache_host)/${__cdist_name_object}/${__cdist_tid}"
|
||||
|
||||
if [ -e "${__cdist_ddir}" ]; then
|
||||
|
|
Loading…
Reference in a new issue