forked from ungleich-public/cdist
begin to cleanup bin/cdist-type-template
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
64826ca5ce
commit
0e42e98bb9
|
@ -26,9 +26,11 @@
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
__cdist_type="$1"; shift
|
__cdist_type="$1"; shift
|
||||||
|
__cdist_type_dir="$(__cdist_type_dir "$__cdist_type")"
|
||||||
|
|
||||||
|
echo "Creating type $__cdist_type in $__cdist_type_dir ..."
|
||||||
# Base
|
# Base
|
||||||
mkdir -p "$(__cdist_type_dir "$__cdist_type")"
|
mkdir -p "$__cdist_type_dir"
|
||||||
|
|
||||||
# Parameter
|
# Parameter
|
||||||
mkdir -p "$(__cdist_type_parameter_dir "$__cdist_type")"
|
mkdir -p "$(__cdist_type_parameter_dir "$__cdist_type")"
|
||||||
|
|
Loading…
Reference in a new issue