Fix sha256sum generation on OS X.

This commit is contained in:
Aaron van Geffen 2015-10-01 13:17:49 +09:00
parent d0836ef63b
commit c40ed08406
1 changed files with 5 additions and 1 deletions

View File

@ -197,7 +197,11 @@ fi
download_libs
# mind the gap (trailing space)
sha256sum $cachedir/orctlibs.zip | cut -f1 -d\ > $libVFile
if [[ `uname` == "Darwin" ]]; then
shasum -a 256 $cachedir/orctlibs.zip | cut -f1 -d\ > $libVFile
else
sha256sum $cachedir/orctlibs.zip | cut -f1 -d\ > $libVFile
fi
echo "Downloaded library with sha256sum: $(cat $libVFile)"
# Local libs are required for all targets
install_local_libs