1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

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

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