forked from ungleich-public/cdist
b81b19d126
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
13 lines
204 B
Bash
13 lines
204 B
Bash
#!/bin/sh
|
|
|
|
case "$__arg_type" in
|
|
|
|
directory)
|
|
if [ "$__arg_mode" ]; then
|
|
echo mkdir -m \"$__arg_mode\" \"$__arg_path\"
|
|
else
|
|
echo mkdir \"$__arg_path\"
|
|
fi
|
|
;;
|
|
|
|
esac
|