Add missing quotes to within-bundler-project function
This commit is contained in:
parent
82d557a84e
commit
340da08b9a
@ -40,8 +40,8 @@ _bundler-installed() {
|
||||
}
|
||||
|
||||
_within-bundled-project() {
|
||||
local check_dir=$PWD
|
||||
while [ $check_dir != "/" ]; do
|
||||
local check_dir="$PWD"
|
||||
while [ "$check_dir" != "/" ]; do
|
||||
[ -f "$check_dir/Gemfile" ] && return
|
||||
check_dir="$(dirname $check_dir)"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user