goto fail quality

This commit is contained in:
Ned Williamson 2016-03-24 21:42:46 -04:00
parent e7c0dbef5c
commit 1f62559134
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ if [[ "$unamestr" == 'Linux' ]]; then
fi
HASH=`sha256sum /tmp/libcapstone3.deb 2>/dev/null | cut -d' ' -f1`
if [ "$HASH" != "$LIBCAPSTONE64_SHA256" ] || [ "$HASH" != "$LIBCAPSTONE32_SHA256" ]; then
if [ "$HASH" != "$LIBCAPSTONE64_SHA256" ] && [ "$HASH" != "$LIBCAPSTONE32_SHA256" ]; then
echo "Error: libcapstone3.deb has an invalid checksum."
exit 1
fi