Skip to content

Commit

Permalink
Merge pull request jf#8 from drewolson/destdir_fix
Browse files Browse the repository at this point in the history
remove -n when checking for existence of DESTDIR
  • Loading branch information
jamis committed Sep 8, 2011
2 parents a06f1a3 + 1fd44fa commit 6372b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/rbenv-gemset
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ case "$1" in
"install")
if [ "$2" == "-g" ]; then
RBENV_PLUGIN_ROOT=/etc/rbenv.d
elif [ -n $DESTDIR ]; then
elif [ -n "$DESTDIR" ]; then
RBENV_PLUGIN_ROOT=${DESTDIR}
else
RBENV_PLUGIN_ROOT="${HOME}/.rbenv/rbenv.d"
Expand Down

0 comments on commit 6372b27

Please sign in to comment.