Loading src/Helpers/Build.php +2 −1 Original line number Diff line number Diff line Loading @@ -209,7 +209,8 @@ $tmp = explode(" ", file_get_contents($path . '.md5sum')); $ret = $tmp[0]; } elseif ($this->commandExists('md5sum')) { exec('md5sum ' . $path. ' > '.$path.'.md5sum'); $dir = rtrim($path, $this->filename); exec("cd $dir && md5sum " . $this->filename. ' > '.$path.'.md5sum'); $tmp = explode(" ", file_get_contents($path . '.md5sum')); $ret = $tmp[0]; } else { Loading Loading
src/Helpers/Build.php +2 −1 Original line number Diff line number Diff line Loading @@ -209,7 +209,8 @@ $tmp = explode(" ", file_get_contents($path . '.md5sum')); $ret = $tmp[0]; } elseif ($this->commandExists('md5sum')) { exec('md5sum ' . $path. ' > '.$path.'.md5sum'); $dir = rtrim($path, $this->filename); exec("cd $dir && md5sum " . $this->filename. ' > '.$path.'.md5sum'); $tmp = explode(" ", file_get_contents($path . '.md5sum')); $ret = $tmp[0]; } else { Loading