mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-21 00:55:10 +00:00
Fix shellcheck linting failure
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
This commit is contained in:
parent
00bd6aa65c
commit
736a513ee4
1 changed files with 5 additions and 5 deletions
|
|
@ -63,7 +63,7 @@ networkStart() {
|
||||||
./org1ca.sh > ./logs/org1ca.log 2>&1 &
|
./org1ca.sh > ./logs/org1ca.log 2>&1 &
|
||||||
./org2ca.sh > ./logs/org2ca.log 2>&1 &
|
./org2ca.sh > ./logs/org2ca.log 2>&1 &
|
||||||
echo "Waiting ${CLI_DELAY}s..."
|
echo "Waiting ${CLI_DELAY}s..."
|
||||||
sleep ${CLI_DELAY}
|
sleep "${CLI_DELAY}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "${PWD}"/channel-artifacts ] && [ -d "${PWD}"/crypto-config ]; then
|
if [ -d "${PWD}"/channel-artifacts ] && [ -d "${PWD}"/crypto-config ]; then
|
||||||
|
|
@ -74,7 +74,7 @@ networkStart() {
|
||||||
INCLUDE_CA_PARAM=""
|
INCLUDE_CA_PARAM=""
|
||||||
if [ "${INCLUDE_CA}" = true ]; then
|
if [ "${INCLUDE_CA}" = true ]; then
|
||||||
INCLUDE_CA_PARAM="-ca"
|
INCLUDE_CA_PARAM="-ca"
|
||||||
fi
|
fi
|
||||||
./generate_artifacts.sh "${ORDERER_TYPE}" "${INCLUDE_CA_PARAM}"
|
./generate_artifacts.sh "${ORDERER_TYPE}" "${INCLUDE_CA_PARAM}"
|
||||||
CREATE_CHANNEL=true
|
CREATE_CHANNEL=true
|
||||||
fi
|
fi
|
||||||
|
|
@ -90,7 +90,7 @@ networkStart() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Waiting ${CLI_DELAY}s..."
|
echo "Waiting ${CLI_DELAY}s..."
|
||||||
sleep ${CLI_DELAY}
|
sleep "${CLI_DELAY}"
|
||||||
|
|
||||||
echo "Starting peers..."
|
echo "Starting peers..."
|
||||||
./peer1.sh > ./logs/peer1.log 2>&1 &
|
./peer1.sh > ./logs/peer1.log 2>&1 &
|
||||||
|
|
@ -99,7 +99,7 @@ networkStart() {
|
||||||
./peer4.sh > ./logs/peer4.log 2>&1 &
|
./peer4.sh > ./logs/peer4.log 2>&1 &
|
||||||
|
|
||||||
echo "Waiting ${CLI_DELAY}s..."
|
echo "Waiting ${CLI_DELAY}s..."
|
||||||
sleep ${CLI_DELAY}
|
sleep "${CLI_DELAY}"
|
||||||
|
|
||||||
if [ "${CREATE_CHANNEL}" = "true" ]; then
|
if [ "${CREATE_CHANNEL}" = "true" ]; then
|
||||||
echo "Joining orderers to channel..."
|
echo "Joining orderers to channel..."
|
||||||
|
|
@ -117,7 +117,7 @@ networkStart() {
|
||||||
|
|
||||||
echo "Joining channel (peer3)..."
|
echo "Joining channel (peer3)..."
|
||||||
. ./peer3admin.sh && ./join_channel.sh
|
. ./peer3admin.sh && ./join_channel.sh
|
||||||
|
|
||||||
echo "Joining channel (peer4)..."
|
echo "Joining channel (peer4)..."
|
||||||
. ./peer4admin.sh && ./join_channel.sh
|
. ./peer4admin.sh && ./join_channel.sh
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue