fix cdist-object-all: ensure output directory exists

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-31 22:25:56 +02:00
parent dbed2f1f83
commit a648aa5333
1 changed files with 3 additions and 0 deletions

View File

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