From a648aa5333d331123f7e4da00bb562b710ea8d18 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 31 Mar 2011 22:25:56 +0200 Subject: [PATCH] fix cdist-object-all: ensure output directory exists Signed-off-by: Nico Schottelius --- bin/cdist-object-all | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/cdist-object-all b/bin/cdist-object-all index 28df0613..391c9cc7 100755 --- a/bin/cdist-object-all +++ b/bin/cdist-object-all @@ -31,6 +31,9 @@ __cdist_command="$1"; shift __cdist_objects="$__cdist_tmp_dir/objects" +# Ensure object dir exists, so marker can be created +mkdir -p "${__cdist_out_object_dir}" + # Loop until we do not create new objects anymore # which is equal to all objects have been run touch "$__cdist_objects_created"