Commit 340da08b authored by Marc Cornellà's avatar Marc Cornellà Committed by ncanceill
Browse files

Add missing quotes to within-bundler-project function

parent 82d557a8
...@@ -40,8 +40,8 @@ _bundler-installed() { ...@@ -40,8 +40,8 @@ _bundler-installed() {
} }
_within-bundled-project() { _within-bundled-project() {
local check_dir=$PWD local check_dir="$PWD"
while [ $check_dir != "/" ]; do while [ "$check_dir" != "/" ]; do
[ -f "$check_dir/Gemfile" ] && return [ -f "$check_dir/Gemfile" ] && return
check_dir="$(dirname $check_dir)" check_dir="$(dirname $check_dir)"
done done
......
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