Revision be64da4f85ccf176f20f869a515b98778e40a0b0 authored by Vincent Botbol on 11 June 2019, 10:04:55 UTC, committed by Vincent Botbol on 11 June 2019, 10:04:55 UTC
p2p welcome: Don't stop the worker on accept error

See merge request tezos/tezos!1118
2 parent s b4e1611 + 81ae91b
Raw File
check_patch.sh
#! /bin/sh

set -e

if [ $1 != "zeronet" ] && [ $1 != "alphanet" ] ; then
    echo Ignored
    exit 0
fi

if git log | grep "net: change economic constants" >/dev/null 2>&1 ; then
    echo OK
    exit 0
fi

cat <<EOF

The branch $1 should include the constant patch.
Please run './scripts/apply-patch.sh $1'.

EOF

exit 1
back to top