Skip to content

Commit

Permalink
MDL-38825 behat: fix composer install url
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Apr 1, 2013
1 parent d8201d4 commit c5f6371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/tool/behat/cli/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
// Changing to moodle dirroot to run composer related commands at project level.
chdir(__DIR__ . '/../../../..');
if (!file_exists(__DIR__ . '/../../../../composer.phar')) {
passthru("curl http://getcomposer.org/install | php", $code);
passthru("curl http://getcomposer.org/installer | php", $code);
if ($code != 0) {
exit($code);
}
Expand Down

0 comments on commit c5f6371

Please sign in to comment.