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 e277720 commit 3ac0abe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/anyenv-update
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
#
# Usage: anyenv update

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

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

0 comments on commit 3ac0abe

Please sign in to comment.