projects
/
fltk_mvc_template.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial Commit
[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