mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
fix up for test network
replace duplicate peer version by which peer remove un used config folder check Signed-off-by: SamYuan1990 <yy19902439@126.com>
This commit is contained in:
parent
adfef198df
commit
34a4fe08d3
1 changed files with 3 additions and 3 deletions
|
|
@ -88,10 +88,10 @@ BLACKLISTED_VERSIONS="^1\.0\. ^1\.1\. ^1\.2\. ^1\.3\. ^1\.4\."
|
|||
# of go or other items could be added.
|
||||
function checkPrereqs() {
|
||||
## Check if your have cloned the peer binaries and configuration files.
|
||||
peer version > /dev/null 2>&1
|
||||
which peer
|
||||
|
||||
if [[ $? -ne 0 || ! -d "../config" ]]; then
|
||||
echo "ERROR! Peer binary and configuration files not found.."
|
||||
if [ "$?" -ne 0 ]; then
|
||||
echo "ERROR! Peer binary not found..."
|
||||
echo
|
||||
echo "Follow the instructions in the Fabric docs to install the Fabric Binaries:"
|
||||
echo "https://hyperledger-fabric.readthedocs.io/en/latest/install.html"
|
||||
|
|
|
|||
Loading…
Reference in a new issue