Skip to content

Commit

Permalink
Merge pull request #2 from deminy/master
Browse files Browse the repository at this point in the history
Merge Drupal.org fix #2418619 and allow the Phing task support Drush 7.0.*
  • Loading branch information
Frédéric Dewinne committed Jun 19, 2015
2 parents 9da6c67 + b5924b8 commit f51f286
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"require": {
"phing/phing": "~2.9",
"drush/drush": "~6.5"
"drush/drush": "6.5 - 7.0"
},
"autoload": {
"psr-0": {
Expand Down
2 changes: 1 addition & 1 deletion src/Drush/Option.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function toString() {
$value = $this->getValue();
$str = '--' . $name;
if (!empty($value)) {
$str .= '=' . $value;
$str .= '="' . escapeshellcmd($value) . '"';
}
return $str;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Drush/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public function main() {
$command[] = $this->command;

foreach ($this->params as $param) {
$command[] = $param->getValue();
$command[] = '"' . escapeshellcmd($param->getValue()) . '"';
}

$command = implode(' ', $command);
Expand Down

0 comments on commit f51f286

Please sign in to comment.