mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-22 01:25:10 +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
|
CURRENT_DIR=$PWD
|
||||||
cd crypto-config/peerOrganizations/org1.example.com/ca/
|
cd crypto-config/peerOrganizations/org1.example.com/ca/
|
||||||
PRIV_KEY=$(ls *_sk)
|
PRIV_KEY=$(ls *_sk)
|
||||||
cd $CURRENT_DIR
|
cd "$CURRENT_DIR"
|
||||||
sed $OPTS "s/CA1_PRIVATE_KEY/${PRIV_KEY}/g" docker-compose-e2e.yaml
|
sed $OPTS "s/CA1_PRIVATE_KEY/${PRIV_KEY}/g" docker-compose-e2e.yaml
|
||||||
cd crypto-config/peerOrganizations/org2.example.com/ca/
|
cd crypto-config/peerOrganizations/org2.example.com/ca/
|
||||||
PRIV_KEY=$(ls *_sk)
|
PRIV_KEY=$(ls *_sk)
|
||||||
cd $CURRENT_DIR
|
cd "$CURRENT_DIR"
|
||||||
sed $OPTS "s/CA2_PRIVATE_KEY/${PRIV_KEY}/g" docker-compose-e2e.yaml
|
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 MacOSX, remove the temporary backup of the docker-compose file
|
||||||
if [ "$ARCH" == "Darwin" ]; then
|
if [ "$ARCH" == "Darwin" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue