little fix travis was failing on line 33 at install.sh

This commit is contained in:
Yahya Lmallas 2016-03-25 02:22:44 +01:00
parent 37549b246e
commit 3b4d9924fc
2 changed files with 3 additions and 3 deletions

View File

@ -15,8 +15,8 @@ addons:
- clang
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- ./install.sh
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- ./install.sh
script:
- ./run_tests.sh

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