From 0e42e98bb93ad5361cfd0b56142bb708b804c5c6 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 16 Apr 2011 23:27:01 +0200 Subject: [PATCH] begin to cleanup bin/cdist-type-template Signed-off-by: Nico Schottelius --- bin/cdist-type-template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/cdist-type-template b/bin/cdist-type-template index dc853614..335a0ed9 100755 --- a/bin/cdist-type-template +++ b/bin/cdist-type-template @@ -26,9 +26,11 @@ set -eu __cdist_type="$1"; shift +__cdist_type_dir="$(__cdist_type_dir "$__cdist_type")" +echo "Creating type $__cdist_type in $__cdist_type_dir ..." # Base -mkdir -p "$(__cdist_type_dir "$__cdist_type")" +mkdir -p "$__cdist_type_dir" # Parameter mkdir -p "$(__cdist_type_parameter_dir "$__cdist_type")"