Skip to content

Commit

Permalink
Refs #1395 - avoid trailing spaces on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mrook committed Dec 23, 2020
1 parent 2366b06 commit 491336c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/phing/tasks/system/ExecTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ protected function buildCommand()
}
$this->log('Setting environment variable: ' . $variable, Project::MSG_VERBOSE);
if (OsCondition::isOS(OsCondition::FAMILY_WINDOWS)) {
$envString .= 'set ' . $variable . ' & ';
$envString .= 'set ' . $variable . '& ';
} else {
$envString .= 'export ' . $variable . '; ';
}
Expand Down

0 comments on commit 491336c

Please sign in to comment.