fix cdist-object-all: ensure output directory exists
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
dbed2f1f83
commit
a648aa5333
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ __cdist_command="$1"; shift
|
||||||
|
|
||||||
__cdist_objects="$__cdist_tmp_dir/objects"
|
__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
|
# Loop until we do not create new objects anymore
|
||||||
# which is equal to all objects have been run
|
# which is equal to all objects have been run
|
||||||
touch "$__cdist_objects_created"
|
touch "$__cdist_objects_created"
|
||||||
|
|
Loading…
Reference in a new issue