OSDN Git Service

Allow paths with spaces.
authorVeered <lucashansne@gmail.com>
Thu, 18 Jul 2013 22:36:46 +0000 (15:36 -0700)
committerVeered <lucashansne@gmail.com>
Thu, 18 Jul 2013 22:36:46 +0000 (15:36 -0700)
bin/wp

diff --git a/bin/wp b/bin/wp
index f53faf4..706f6c9 100755 (executable)
--- a/bin/wp
+++ b/bin/wp
@@ -63,4 +63,4 @@ export WP_CLI_PHP_USED=$php
 
 # Pass in the path to php so that wp-cli knows which one
 # to use if it re-launches itself to run subcommands
-exec $php "$SCRIPT_PATH" "$@"
+exec "$php" "$SCRIPT_PATH" "$@"