@@ -9,16 +9,16 @@ discard block |
||
| 9 | 9 | $phiveUrl = 'https://phar.io/releases/phive.phar'; |
| 10 | 10 | $phiveKeyUrl = 'https://phar.io/releases/phive.phar.asc'; |
| 11 | 11 | |
| 12 | -if (!file_exists('.' . $ds . 'phive.phar')) { |
|
| 13 | - echo 'Downloading Phive (' . $phiveUrl . ')...' . PHP_EOL; |
|
| 14 | - file_put_contents('.' . $ds . 'phive.phar', file_get_contents( |
|
| 12 | +if (!file_exists('.'.$ds.'phive.phar')) { |
|
| 13 | + echo 'Downloading Phive ('.$phiveUrl.')...'.PHP_EOL; |
|
| 14 | + file_put_contents('.'.$ds.'phive.phar', file_get_contents( |
|
| 15 | 15 | $phiveUrl |
| 16 | 16 | )); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -if (!file_exists('.' . $ds . 'phive.phar.asc')) { |
|
| 20 | - echo 'Downloading Phive Key (' . $phiveKeyUrl . ')...' . PHP_EOL; |
|
| 21 | - file_put_contents('.' . $ds . 'phive.phar.asc', file_get_contents( |
|
| 19 | +if (!file_exists('.'.$ds.'phive.phar.asc')) { |
|
| 20 | + echo 'Downloading Phive Key ('.$phiveKeyUrl.')...'.PHP_EOL; |
|
| 21 | + file_put_contents('.'.$ds.'phive.phar.asc', file_get_contents( |
|
| 22 | 22 | $phiveUrl |
| 23 | 23 | )); |
| 24 | 24 | } else { |
@@ -41,5 +41,5 @@ discard block |
||
| 41 | 41 | $keys = implode(',', $keys); |
| 42 | 42 | |
| 43 | 43 | $output = ''; |
| 44 | -exec('php .' . $ds . 'phive.phar install --target ./bin --trust-gpg-keys ' . $keys . ' --force-accept-unsigned', $output); |
|
| 44 | +exec('php .'.$ds.'phive.phar install --target ./bin --trust-gpg-keys '.$keys.' --force-accept-unsigned', $output); |
|
| 45 | 45 | echo implode(PHP_EOL, $output); |