Skip to content

Commit c54346d

Browse files
committed
BUG: Solved so commands with quotes and space now also works on Linux as well as on Windows. So now command "wp option update blogname 'My WordPress Site'" works as intended on both platforms.
1 parent 0f5a0a2 commit c54346d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/wp.sh.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
2-
<%= @php_executable_path %> "$(dirname "$(readlink -f "$0")")/wp-cli.phar" $@
2+
<%= @php_executable_path %> "$(dirname "$(readlink -f "$0")")/wp-cli.phar" "$@"
33

0 commit comments

Comments
 (0)