From 6f02112aeb8985d9486731c4f71c9a67357c37b9 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 21 Mar 2011 08:46:54 +0100 Subject: [PATCH] check for correct entry on move, not parameter ;-) Signed-off-by: Nico Schottelius --- bin/cdist-manifest-run-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cdist-manifest-run-all b/bin/cdist-manifest-run-all index 80cd47be..884f46ee 100755 --- a/bin/cdist-manifest-run-all +++ b/bin/cdist-manifest-run-all @@ -105,7 +105,7 @@ while [ "$__cdist_new_objects_created" = "y" ]; do ${__cdist_name_require} \ ; do - if [ -e "${__cdist_new_object_dir}/${__cdist_name_parameter}" ]; then + if [ -e "${__cdist_new_object_dir}/${__cdist_object_file}" ]; then mv "${__cdist_new_object_dir}/${__cdist_object_file}" \ "$__cdist_object_dir" fi