From 2dcb1ac49bb06abf2b568be45a37acaec39ecb0f Mon Sep 17 00:00:00 2001 From: xialiwei Date: Sun, 26 Apr 2020 11:22:11 +0800 Subject: [PATCH] fix(srcipt): rename fabric rule file Rename fabric rule file. Replace hyphen with underline. --- scripts/quick_start/fabric_pier.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/quick_start/fabric_pier.sh b/scripts/quick_start/fabric_pier.sh index 93c1683..3004874 100755 --- a/scripts/quick_start/fabric_pier.sh +++ b/scripts/quick_start/fabric_pier.sh @@ -101,9 +101,9 @@ function prepare() { x_replace 's/example/example1/g' "${CURRENT_PATH}"/configB.yaml fi - if [ ! -f fabric-rule.wasm ]; then - print_blue "===> Downloading fabric-rule.wasm" - wget https://raw.githubusercontent.com/meshplus/bitxhub/master/scripts/quick_start/fabric-rule.wasm + if [ ! -f fabric_rule.wasm ]; then + print_blue "===> Downloading fabric_rule.wasm" + wget https://raw.githubusercontent.com/meshplus/bitxhub/master/scripts/quick_start/fabric_rule.wasm fi } @@ -139,7 +139,7 @@ function start() { --validators "${PIER_ROOT}"/fabric/fabric.validators print_blue "===> Deploy rule in bitxhub" - pier --repo "${PIER_ROOT}" rule deploy --path "${CURRENT_PATH}"/fabric-rule.wasm + pier --repo "${PIER_ROOT}" rule deploy --path "${CURRENT_PATH}"/fabric_rule.wasm print_blue "===> Start pier" cd "${CURRENT_PATH}"