Kaynağa Gözat

Quoted the arglist variable to fix errors from commands with spaces, per http://tldp.org/LDP/abs/html/internalvariables.html#ARGLIST
which states: "Of course, "$@" should be quoted." Also reference bug thread: https://github.com/gma/bundler-exec/issues/16

Mike Schroll 13 yıl önce
ebeveyn
işleme
5696faf073
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      bundler-exec.sh

+ 2 - 2
bundler-exec.sh

@@ -29,9 +29,9 @@ within-bundled-project()
 run-with-bundler()
 {
     if bundler-installed && within-bundled-project; then
-        bundle exec $@
+        bundle exec "$@"
     else
-        $@
+        "$@"
     fi
 }