@@ -48,16 +48,16 @@ |
||
48 | 48 | { |
49 | 49 | $path = parent::detectCommand($path); |
50 | 50 | |
51 | - return is_executable($path) ? $path : '/usr/bin/env python ' . $path; |
|
51 | + return is_executable($path) ? $path : '/usr/bin/env python '.$path; |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | public function install() |
55 | 55 | { |
56 | 56 | if ($this->installer) { |
57 | - passthru('/usr/bin/env wget ' . escapeshellarg($this->installer) . ' -O- | /usr/bin/env python', $exitcode); |
|
57 | + passthru('/usr/bin/env wget '.escapeshellarg($this->installer).' -O- | /usr/bin/env python', $exitcode); |
|
58 | 58 | } elseif ($this->download) { |
59 | - $dest = Yii::getAlias('@root/' . $this->name, false); |
|
60 | - passthru('/usr/bin/env wget ' . escapeshellarg($this->download) . ' -O ' . $dest, $exitcode); |
|
59 | + $dest = Yii::getAlias('@root/'.$this->name, false); |
|
60 | + passthru('/usr/bin/env wget '.escapeshellarg($this->download).' -O '.$dest, $exitcode); |
|
61 | 61 | } else { |
62 | 62 | $args = ['pip', 'install']; |
63 | 63 | if (!$_SERVER['VIRTUAL_ENV']) { |