diff --git a/bin/git-bug b/bin/git-bug index e6c263f..3738654 100755 --- a/bin/git-bug +++ b/bin/git-bug @@ -6,7 +6,7 @@ if test "$1" = "finish"; then git merge --no-ff $branch && git delete-branch $branch else test -z $1 && echo "bug required." 1>&2 && exit 1 - if test -n $2; then + if test -n "$2"; then echo "too many arguments; if not finishing a bug, only of new bug is expected" && exit 1 fi branch=bug/$1 diff --git a/bin/git-feature b/bin/git-feature index b2a9129..4a1eed0 100755 --- a/bin/git-feature +++ b/bin/git-feature @@ -6,7 +6,7 @@ if test "$1" = "finish"; then git merge --no-ff $branch && git delete-branch $branch else test -z $1 && echo "feature required." 1>&2 && exit 1 - if test -n $2; then + if test -n "$2"; then echo "too many arguments; if not finishing a feature, only of new feature is expected" && exit 1 fi branch=feature/$1 diff --git a/bin/git-refactor b/bin/git-refactor index caffb7f..1130956 100755 --- a/bin/git-refactor +++ b/bin/git-refactor @@ -7,7 +7,7 @@ if test "$1" = "finish"; then git merge --no-ff $branch && git delete-branch $branch else test -z $1 && echo "refactor required." 1>&2 && exit 1 - if test -n $2; then + if test -n "$2"; then echo "too many arguments; if not finishing a refactor, only of new refactoring is expected" && exit 1 fi branch=refactor/$1