Commit 86958a32 authored by Bodo Tasche's avatar Bodo Tasche Committed by Hakan Ensari
Browse files

forgot to rename one variable

parent 3aee5c19
...@@ -15,7 +15,7 @@ _within-bundled-project() ...@@ -15,7 +15,7 @@ _within-bundled-project()
local check_dir=$PWD local check_dir=$PWD
while [ "$(dirname $check_dir)" != "/" ]; do while [ "$(dirname $check_dir)" != "/" ]; do
[ -f "$check_dir/Gemfile" ] && return [ -f "$check_dir/Gemfile" ] && return
dir="$(dirname $check_dir)" check_dir="$(dirname $check_dir)"
done done
false false
} }
...@@ -27,7 +27,7 @@ _run-with-bundler() ...@@ -27,7 +27,7 @@ _run-with-bundler()
if _bundler-installed && _within-bundled-project; then if _bundler-installed && _within-bundled-project; then
bundle exec $command "$@" bundle exec $command "$@"
else else
$command "$@" $command "$@"
fi fi
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment