summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-02-06 18:51:12 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-02-06 18:51:12 (GMT)
commitfcad97d3c517e516cf8bdd0d0855e0f827e46512 (patch)
tree6eb9b12566ff62335b48e4aaa1f8341e24c544cf
parenteab5e18c4c64de1d4922e2b2263c9954aacd11c1 (diff)
downloadlinhes_dev-fcad97d3c517e516cf8bdd0d0855e0f827e46512.zip
mpv2.py: --md5 look for sha256sum lines
-rwxr-xr-xbuild_tools/bin/mpv2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/bin/mpv2.py b/build_tools/bin/mpv2.py
index b98b103..1467602 100755
--- a/build_tools/bin/mpv2.py
+++ b/build_tools/bin/mpv2.py
@@ -440,7 +440,7 @@ class Packagefile(object):
f = open(filename,"r")
lineIter= iter(f)
for aLine in lineIter:
- if aLine.strip().startswith("md5sum"):
+ if aLine.strip().startswith("md5sum") or aLine.strip().startswith("sha256sum"):
if aLine.strip().endswith(")"):
continue
else: