Browse code

forgot to rename one variable

Bodo Tasche authored on 12/06/2011 at 18:28:27
Showing 1 changed files
... ...
@@ -15,7 +15,7 @@ _within-bundled-project()
15 15
     local check_dir=$PWD
16 16
     while [ "$(dirname $check_dir)" != "/" ]; do
17 17
         [ -f "$check_dir/Gemfile" ] && return
18
-        dir="$(dirname $check_dir)"
18
+        check_dir="$(dirname $check_dir)"
19 19
     done
20 20
     false
21 21
 }
... ...
@@ -27,7 +27,7 @@ _run-with-bundler()
27 27
     if _bundler-installed && _within-bundled-project; then
28 28
         bundle exec $command "$@"
29 29
     else
30
-        $command "$@"
30
+      $command "$@"
31 31
     fi
32 32
 }
33 33