create objects in a seperate object dir, so no clashes with other stuff
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
d555ba5710
commit
054f23a550
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ __cdist_id="$1"; shift
|
||||||
echo "$__cdist_id" | grep -q "^${__cdist_sane_regexp}\$" || __cdist_usage "Provide sane id, please"
|
echo "$__cdist_id" | grep -q "^${__cdist_sane_regexp}\$" || __cdist_usage "Provide sane id, please"
|
||||||
|
|
||||||
__cdist_tid="${__cdist_myname}/${__cdist_id}"
|
__cdist_tid="${__cdist_myname}/${__cdist_id}"
|
||||||
__cdist_ddir="$(__cdist_cache_host)/${__cdist_tid}"
|
__cdist_ddir="$(__cdist_cache_host)/${__cdist_name_object}/${__cdist_tid}"
|
||||||
|
|
||||||
if [ -e "${__cdist_ddir}" ]; then
|
if [ -e "${__cdist_ddir}" ]; then
|
||||||
source="$(cat "${__cdist_ddir}/${__cdist_object_source}")"
|
source="$(cat "${__cdist_ddir}/${__cdist_object_source}")"
|
||||||
|
|
Loading…
Reference in a new issue