Permalink
Browse files

Make that branching logic more clear.

  • Loading branch information...
1 parent 962fbdc commit b077a7d29e74fdff23806657772f65c3a82f3c15 @postmodern committed Dec 12, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/chruby-exec
View
@@ -17,9 +17,9 @@ argv=()
for arg in $@; do
shift
- [[ "$arg" == "--" ]] && break
-
- argv+=($arg)
+ if [[ "$arg" == "--" ]]; then break
+ else argv+=($arg)
+ fi
done
if [[ $# -eq 0 ]]; then

0 comments on commit b077a7d

Please sign in to comment.