Browse Source

Pass quoted arguments through properly.

Graham Ashton 15 năm trước cách đây
mục cha
commit
50515bed62
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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
 }