Merge pull request #54 from meshplus/fix/fix-quick-start-file-name

fix(srcipt): rename fabric rule file
This commit is contained in:
Aiden X 2020-04-26 12:26:51 +08:00 committed by GitHub
commit ac73a48a29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -101,9 +101,9 @@ function prepare() {
x_replace 's/example/example1/g' "${CURRENT_PATH}"/configB.yaml x_replace 's/example/example1/g' "${CURRENT_PATH}"/configB.yaml
fi fi
if [ ! -f fabric-rule.wasm ]; then if [ ! -f fabric_rule.wasm ]; then
print_blue "===> Downloading fabric-rule.wasm" print_blue "===> Downloading fabric_rule.wasm"
wget https://raw.githubusercontent.com/meshplus/bitxhub/master/scripts/quick_start/fabric-rule.wasm wget https://raw.githubusercontent.com/meshplus/bitxhub/master/scripts/quick_start/fabric_rule.wasm
fi fi
} }
@ -139,7 +139,7 @@ function start() {
--validators "${PIER_ROOT}"/fabric/fabric.validators --validators "${PIER_ROOT}"/fabric/fabric.validators
print_blue "===> Deploy rule in bitxhub" 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" print_blue "===> Start pier"
cd "${CURRENT_PATH}" cd "${CURRENT_PATH}"