Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7196bea6 authored by Arnau Vàzquez's avatar Arnau Vàzquez
Browse files

Merge branch 'fix-md5' into 'master'

fix to md5 sum

See merge request !40
parents e51926ec 1cbfb63a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 {