forked from ungleich-public/cdist
14 lines
204 B
Text
14 lines
204 B
Text
|
#!/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
|