Skip to content

Commit

Permalink
"set -u" before "set -x"
Browse files Browse the repository at this point in the history
  • Loading branch information
znz committed Dec 17, 2013
1 parent 932af67 commit 48691f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/anyenv-git
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
# Example: anyenv git pull
# anyenv git gc

set -eo pipefail
[ -n "$ANYENV_DEBUG" ] && set -x
set -u
set -euo pipefail
[ -n "${ANYENV_DEBUG-}" ] && set -x

anyenv_git () {
if [ -d .git ]; then
Expand Down

0 comments on commit 48691f2

Please sign in to comment.