summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2007-04-01 21:42:48 +0000
committerPhilipp Zabel <philipp.zabel@gmail.com>2007-04-01 21:42:48 +0000
commit7870e6d52d38140b0789176e98aa658f8e52ed5a (patch)
tree18ff7470df5770697f3a5869f9e5e97e1455db75 /classes/base.bbclass
parent470744264bf335b0acdc5e9db2b35f1bda73b72d (diff)
base.bbclass, sanity.bbclass: use sha256sum instead of shasum -a256
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 2ea5251609..6f8196cf80 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -54,7 +54,7 @@ def base_chk_file(parser, pn, pv, src_uri, localpath):
raise Exception("Executing md5sum failed")
try:
- shapipe = os.popen('shasum -a256 -p ' + localpath)
+ shapipe = os.popen('sha256sum -b ' + localpath)
shadata = (shapipe.readline().split() or [ "" ])[0]
shapipe.close()
except OSError: