cleanup caching function

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-08-10 16:00:06 +02:00
parent c70bfb2e20
commit f8595793c1

View file

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