Apply patch: update script to match new directory structure

This commit is contained in:
Milo Davis 2017-12-13 14:36:14 +01:00 committed by Benjamin Canou
parent 74318c89eb
commit 9f5b6183ac

View File

@ -18,7 +18,7 @@ set -e
case "$branch" in case "$branch" in
zeronet) zeronet)
sed -i s/TEZOS/TEZOS_ZERONET/ src/node/shell/distributed_db_message.ml sed -i s/TEZOS/TEZOS_ZERONET/ ./lib_node_shell/distributed_db_message.ml
patch -p1 < scripts/alphanet_constants.patch patch -p1 < scripts/alphanet_constants.patch
patch -p1 < scripts/zeronet.patch patch -p1 < scripts/zeronet.patch
cp README.md docs/README.master cp README.md docs/README.master
@ -27,7 +27,7 @@ case "$branch" in
echo "Done" echo "Done"
;; ;;
alphanet) alphanet)
sed -i s/TEZOS/TEZOS_ALPHANET/ src/node/shell/distributed_db_message.ml sed -i s/TEZOS/TEZOS_ALPHANET/ ./lib_node_shell/distributed_db_message.ml
patch -p1 < scripts/alphanet_constants.patch patch -p1 < scripts/alphanet_constants.patch
cp README.md docs/README.master cp README.md docs/README.master
cp docs/README.alphanet README.md cp docs/README.alphanet README.md