kickstart/lib/kickstart-create

8 lines
230 B
Plaintext
Raw Permalink Normal View History

2014-02-21 19:08:19 +00:00
#!/bin/bash -e
2014-02-20 16:20:31 +00:00
target=${1:-.}
2015-05-20 20:16:16 +00:00
mkdir -p "$target"{,/roles,/recipes,/files}
touch "$target"/{README.md,install.sh,roles/.gitkeep,recipes/.gitkeep,files/.gitkeep}
chmod +x "$target"/install.sh
echo "compile" >> "$target"/.gitignore