begin to cleanup bin/cdist-type-template

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-04-16 23:27:01 +02:00
parent 64826ca5ce
commit 0e42e98bb9

View file

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