forked from ungleich-public/cdist
cleanup caching function
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
c70bfb2e20
commit
f8595793c1
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ __cdist_cache()
|
|||
mkdir -p "${__cdist_local_base_cache_dir}"
|
||||
|
||||
__cdist_echo info \
|
||||
"Saving cache to $(__cdist_host_cache_dir "$__cdist_target_host")"
|
||||
"Caching to $(__cdist_host_cache_dir "$__cdist_target_host")"
|
||||
rm -rf "$(__cdist_host_cache_dir "$__cdist_target_host")"
|
||||
mv "$__cdist_local_base_dir" \
|
||||
"$(__cdist_host_cache_dir "$__cdist_target_host")"
|
||||
|
|
Loading…
Reference in a new issue