Completed
Push — master ( 1de67f...6c7845 )
by Andrii
12:15
created
src/base/BinaryPython.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -70,16 +70,16 @@
 block discarded – undo
70 70
     {
71 71
         $path = parent::detectCommand($path);
72 72
 
73
-        return is_executable($path) ? $path : '/usr/bin/env python ' . $path;
73
+        return is_executable($path) ? $path : '/usr/bin/env python '.$path;
74 74
     }
75 75
 
76 76
     public function install()
77 77
     {
78 78
         if ($this->installer) {
79
-            passthru('/usr/bin/env wget ' . escapeshellarg($this->installer) . ' -O- | /usr/bin/env python', $exitcode);
79
+            passthru('/usr/bin/env wget '.escapeshellarg($this->installer).' -O- | /usr/bin/env python', $exitcode);
80 80
         } elseif ($this->download) {
81
-            $dest = Yii::getAlias('@root/' . $this->name, false);
82
-            passthru('/usr/bin/env wget ' . escapeshellarg($this->download) . ' -O ' . $dest, $exitcode);
81
+            $dest = Yii::getAlias('@root/'.$this->name, false);
82
+            passthru('/usr/bin/env wget '.escapeshellarg($this->download).' -O '.$dest, $exitcode);
83 83
         } else {
84 84
             passthru("/usr/bin/pip install {$this->package}", $exitcode);
85 85
         }
Please login to merge, or discard this patch.