2014-02-20 16:20:31 +00:00
|
|
|
#!/bin/bash -xe
|
|
|
|
target=${1:-.}
|
|
|
|
|
|
|
|
mkdir -p $target{,/roles,/recipes,/files}
|
|
|
|
touch $target/{README.md,install.sh,roles/.gitkeep,recipes/.gitkeep,files/.gitkeep}
|
|
|
|
chmod +x $target/install.sh
|
2014-02-20 18:06:18 +00:00
|
|
|
[ -f $target/.gitignore ] && echo "compile" > $target/.gitignore || echo "compile" >> $target/.gitignore
|