File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 44. " ${BASH_SOURCE%/* } /.settings"
55
66to-cpp () {
7- echo " $1 " | sed -e ' s#[^a-zA-Z0-9_]#_#g' -e ' s#__*#_#g' -e ' s#^_##' -e ' s#_$##'
7+ echo " $1 " \
8+ | sed -e ' s#[^a-zA-Z0-9_]#_#g' \
9+ -e ' s#__*#_#g' \
10+ -e ' s#^_##' \
11+ -e ' s#_$##'
812}
913
1014if [ -z " $NAME " ]; then
5559BOILERPLATE_URL=" https://github.com/cppsm/cppsm-boilerplate.git"
5660
5761if [ ! -d .cppsm ]; then
58- if git ls-remote --heads " $BOILERPLATE_URL " | grep -q " \brefs/heads/$CLI_BRANCH \$ " ; then
62+ if git ls-remote --heads " $BOILERPLATE_URL " \
63+ | grep -q " \brefs/heads/$CLI_BRANCH \$ " ; then
5964 BOILERPLATE_BRANCH=" $CLI_BRANCH "
6065 else
6166 BOILERPLATE_BRANCH=" master"
6267 fi
63- git submodule " ${GIT_QUIET[@]} " add --branch " $BOILERPLATE_BRANCH " " $BOILERPLATE_URL " .cppsm
68+ git submodule " ${GIT_QUIET[@]} " add --branch " $BOILERPLATE_BRANCH " \
69+ " $BOILERPLATE_URL " .cppsm
6470fi
6571
6672create-parent-dir () {
You can’t perform that action at this time.
0 commit comments