瀏覽代碼

Pass quoted arguments through properly.

Graham Ashton 15 年之前
父節點
當前提交
50515bed62
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      bundler-exec.sh

+ 2 - 2
bundler-exec.sh

@@ -24,9 +24,9 @@ run-with-bundler()
     local command="$1"
     shift
     if bundler-installed && within-bundled-project; then
-        bundle exec $command $*
+        bundle exec $command "$@"
     else
-        $command $*
+        $command "$@"
     fi
 }