From 5985fafe86d334f158c0f6c093f53fd58a4c6546 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 19 Mar 2011 02:17:17 +0100 Subject: [PATCH] move whole object Signed-off-by: Nico Schottelius --- bin/cdist-manifest-run-all | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bin/cdist-manifest-run-all b/bin/cdist-manifest-run-all index a111627f..4f468e2e 100755 --- a/bin/cdist-manifest-run-all +++ b/bin/cdist-manifest-run-all @@ -93,11 +93,8 @@ while [ "$__cdist_new_objects_created" = "y" ]; do # Source of the new object __cdist_new_object_dir="${__cdist_new_objects_dir}/$__cdist_new_object" - mkdir -p "$__cdist_object_dir" - - # Move parameters and source information - mv "${__cdist_new_object_dir}/"* "$__cdist_object_dir" - mv "${__cdist_new_object_dir}/${__cdist_name_object_source}" "$__cdist_object_dir" + # Move object, not only parts + mv "${__cdist_new_object_dir}/" "$__cdist_object_dir" done < "$__cdist_new_objects_list" # Remove listing and objects, otherwise the next type will reuse it...