mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Merge f0fe35c514 into ca8fad3151
This commit is contained in:
commit
fc16544c3a
1 changed files with 2 additions and 2 deletions
|
|
@ -152,11 +152,11 @@ function replacePrivateKey () {
|
|||
CURRENT_DIR=$PWD
|
||||
cd crypto-config/peerOrganizations/org1.example.com/ca/
|
||||
PRIV_KEY=$(ls *_sk)
|
||||
cd $CURRENT_DIR
|
||||
cd "$CURRENT_DIR"
|
||||
sed $OPTS "s/CA1_PRIVATE_KEY/${PRIV_KEY}/g" docker-compose-e2e.yaml
|
||||
cd crypto-config/peerOrganizations/org2.example.com/ca/
|
||||
PRIV_KEY=$(ls *_sk)
|
||||
cd $CURRENT_DIR
|
||||
cd "$CURRENT_DIR"
|
||||
sed $OPTS "s/CA2_PRIVATE_KEY/${PRIV_KEY}/g" docker-compose-e2e.yaml
|
||||
# If MacOSX, remove the temporary backup of the docker-compose file
|
||||
if [ "$ARCH" == "Darwin" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue