Skip to content

Commit

Permalink
Merge pull request drush-ops#1021 from dmitrybezer/master
Browse files Browse the repository at this point in the history
Quoted $php variable
  • Loading branch information
weitzman committed Nov 27, 2014
2 parents fdfe505 + ee22b56 commit 9fd834b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drush
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ if [ -n "$PHP_OPTIONS" ] ; then
fi

# If on PHP 5.3, disable magic_quotes_gpc and friends
PHP_MINOR_VERSION="`$php -r 'print PHP_MINOR_VERSION;'`"
PHP_MINOR_VERSION="`\"$php\" -r 'print PHP_MINOR_VERSION;'`"
if [ $PHP_MINOR_VERSION -le 3 ] ; then
php_options="$php_options -d magic_quotes_gpc=Off -d magic_quotes_runtime=Off -d magic_quotes_sybase=Off"
fi
Expand Down

0 comments on commit 9fd834b

Please sign in to comment.