Improve the code style on shell scripts
Double quote to prevent globbing and word splitting.
This commit is contained in:
parent
d52fa88337
commit
7f8c19d480
1 changed files with 2 additions and 2 deletions
|
@ -148,11 +148,11 @@ release() {
|
|||
build_gem
|
||||
|
||||
# head back to working branch
|
||||
git checkout $_working_branch
|
||||
git checkout "$_working_branch"
|
||||
|
||||
if [[ $_working_branch == $DEFAULT_BRANCH ]]; then
|
||||
if $_new_release_branch; then
|
||||
git merge $_release_branch
|
||||
git merge "$_release_branch"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue