Browse Source

Pass quoted arguments through properly.

Graham Ashton 15 years ago
parent
commit
50515bed62
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bundler-exec.sh

+ 2 - 2
bundler-exec.sh

@@ -24,9 +24,9 @@ run-with-bundler()
     local command="$1"
     local command="$1"
     shift
     shift
     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
 }
 }