summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBodo Tasche <bodo@wannawork.de>2011-06-12 20:28:27 +0200
committerHakan Ensari <hakan.ensari@papercavalier.com>2011-07-13 22:54:30 +0100
commit86958a32f3d3e647fc61e92700a9ce393e11a3cb (patch)
tree60c81cb71df05ceb6ffcd3b5b2a9d12f2c8ad3c3
parent3aee5c19412dea541495e10f1c4cc7a6d8e4af50 (diff)
downloadzsh-86958a32f3d3e647fc61e92700a9ce393e11a3cb.tar.gz
zsh-86958a32f3d3e647fc61e92700a9ce393e11a3cb.tar.bz2
zsh-86958a32f3d3e647fc61e92700a9ce393e11a3cb.zip
forgot to rename one variable
-rw-r--r--plugins/bundler-exec/bundler-exec.plugin.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/bundler-exec/bundler-exec.plugin.zsh b/plugins/bundler-exec/bundler-exec.plugin.zsh
index 4684dcb8d..bc4d35a84 100644
--- a/plugins/bundler-exec/bundler-exec.plugin.zsh
+++ b/plugins/bundler-exec/bundler-exec.plugin.zsh
@@ -15,7 +15,7 @@ _within-bundled-project()
local check_dir=$PWD
while [ "$(dirname $check_dir)" != "/" ]; do
[ -f "$check_dir/Gemfile" ] && return
- dir="$(dirname $check_dir)"
+ check_dir="$(dirname $check_dir)"
done
false
}
@@ -27,7 +27,7 @@ _run-with-bundler()
if _bundler-installed && _within-bundled-project; then
bundle exec $command "$@"
else
- $command "$@"
+ $command "$@"
fi
}