Set SDK version to 22 to avoid the need to ask for permissions.
[fltk_mvc_template.git] / setup.sh
1 #!/bin/bash
2
3 if [ "$#" -ne 1 ]; then
4     echo "Usage: setup.sh name_of_project"
5     exit 1
6 fi
7
8 cp -rf ./_template ./$1
9 find ./$1 -type f -exec sed -i 's/_template/'"$1"'/g' {} \;
10 find ./$1 -depth -name '*_template*' -exec rename 's/_template/'"$1"'/' {} ";"
11