Add version check

This commit is contained in:
Aditya Kulkarni
2018-11-22 08:41:46 -08:00
parent 03f42dab3a
commit 686c99cbc8

View File

@@ -20,6 +20,11 @@ if [ ! -f $ZCASH_DIR/src/zcashd ]; then
exit 1;
fi
if ! cat src/version.h | grep -q "$APP_VERSION"; then
echo "Version mismatch in src/version.h"
exit 1
fi
export PATH=$PATH:/usr/local/bin
#Clean