Skip to content

Commit bf61094

Browse files
denyeartsatota2
authored andcommitted
Remove double quotes for env variables
Double quotes have caused issues in some environments, e.g. see hyperledger/fabric#4358 Signed-off-by: David Enyeart <[email protected]>
1 parent effe8ff commit bf61094

File tree

10 files changed

+21
-21
lines changed

10 files changed

+21
-21
lines changed

asset-transfer-abac/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ You can use either identity with the `abac.creator=true` attribute to create an
7676

7777
```
7878
export CORE_PEER_TLS_ENABLED=true
79-
export CORE_PEER_LOCALMSPID="Org1MSP"
79+
export CORE_PEER_LOCALMSPID=Org1MSP
8080
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
8181
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
8282
export CORE_PEER_ADDRESS=localhost:7051

asset-transfer-sbe/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Set the following environment variables to interact with the network as a user f
7373
export PATH=${PWD}/../bin:${PWD}:$PATH
7474
export FABRIC_CFG_PATH=$PWD/../config/
7575
export CORE_PEER_TLS_ENABLED=true
76-
export CORE_PEER_LOCALMSPID="Org1MSP"
76+
export CORE_PEER_LOCALMSPID=Org1MSP
7777
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
7878
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
7979
export CORE_PEER_ADDRESS=localhost:7051

auction-dutch/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Set the following environment to interact with the test network as Org3.
4949
export PATH=${PWD}/../bin:$PATH
5050
export FABRIC_CFG_PATH=${PWD}/../config/
5151
export CORE_PEER_TLS_ENABLED=true
52-
export CORE_PEER_LOCALMSPID="Org3MSP"
52+
export CORE_PEER_LOCALMSPID=Org3MSP
5353
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt
5454
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp
5555
export CORE_PEER_ADDRESS=localhost:11051

test-network-k8s/scripts/set_anchor_peer.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ set -x
9898
ORG_NUM=$1
9999
CHANNEL_NAME=$2
100100
PEER_NAME=$3
101-
ORG_NAME="org${ORG_NUM}"
101+
ORG_NAME=org${ORG_NUM}
102102
ANCHOR_PEER_HOST=${ORG_NAME}-${PEER_NAME}
103103
ANCHOR_PEER_PORT=7051
104104
ORDERER_TLS_CA_FILE=/var/hyperledger/fabric/organizations/ordererOrganizations/org0.example.com/msp/tlscacerts/org0-tls-ca.pem
105105

106-
export CORE_PEER_LOCALMSPID="Org${ORG_NUM}MSP"
106+
export CORE_PEER_LOCALMSPID=Org${ORG_NUM}MSP
107107

108108
set_anchor_peer
109109

test-network/CHAINCODE_AS_A_SERVICE_TUTORIAL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ To test things are working you can invoke the 'Contract Metadata' function. For
5858
# Environment variables for Org1
5959

6060
export CORE_PEER_TLS_ENABLED=true
61-
export CORE_PEER_LOCALMSPID="Org1MSP"
61+
export CORE_PEER_LOCALMSPID=Org1MSP
6262
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem
6363
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
6464
export CORE_PEER_ADDRESS=localhost:7051

test-network/scripts/envVar.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ setGlobals() {
3333
fi
3434
infoln "Using organization ${USING_ORG}"
3535
if [ $USING_ORG -eq 1 ]; then
36-
export CORE_PEER_LOCALMSPID="Org1MSP"
36+
export CORE_PEER_LOCALMSPID=Org1MSP
3737
export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG1_CA
3838
export CORE_PEER_MSPCONFIGPATH=${TEST_NETWORK_HOME}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
3939
export CORE_PEER_ADDRESS=localhost:7051
4040
elif [ $USING_ORG -eq 2 ]; then
41-
export CORE_PEER_LOCALMSPID="Org2MSP"
41+
export CORE_PEER_LOCALMSPID=Org2MSP
4242
export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG2_CA
4343
export CORE_PEER_MSPCONFIGPATH=${TEST_NETWORK_HOME}/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp
4444
export CORE_PEER_ADDRESS=localhost:9051
4545
elif [ $USING_ORG -eq 3 ]; then
46-
export CORE_PEER_LOCALMSPID="Org3MSP"
46+
export CORE_PEER_LOCALMSPID=Org3MSP
4747
export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG3_CA
4848
export CORE_PEER_MSPCONFIGPATH=${TEST_NETWORK_HOME}/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp
4949
export CORE_PEER_ADDRESS=localhost:11051

token-erc-1155/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Note that we need to call the initialize function before being able to use any f
140140
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
141141
```bash
142142
export CORE_PEER_TLS_ENABLED=true
143-
export CORE_PEER_LOCALMSPID="Org1MSP"
143+
export CORE_PEER_LOCALMSPID=Org1MSP
144144
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
145145
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
146146
export CORE_PEER_ADDRESS=localhost:7051
@@ -224,7 +224,7 @@ Switch to the Org2 terminal and set the following environment variables.
224224
```bash
225225
export FABRIC_CFG_PATH=$PWD/../config/
226226
export CORE_PEER_TLS_ENABLED=true
227-
export CORE_PEER_LOCALMSPID="Org2MSP"
227+
export CORE_PEER_LOCALMSPID=Org2MSP
228228
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp
229229
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
230230
export CORE_PEER_ADDRESS=localhost:9051

token-erc-20/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Note that we need to call the initialize function before being able to use any f
110110
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
111111
```
112112
export CORE_PEER_TLS_ENABLED=true
113-
export CORE_PEER_LOCALMSPID="Org1MSP"
113+
export CORE_PEER_LOCALMSPID=Org1MSP
114114
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
115115
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
116116
export CORE_PEER_ADDRESS=localhost:7051
@@ -151,7 +151,7 @@ Let's prepare the Org2 terminal by setting the environment variables for the Org
151151
```
152152
export FABRIC_CFG_PATH=$PWD/../config/
153153
export CORE_PEER_TLS_ENABLED=true
154-
export CORE_PEER_LOCALMSPID="Org2MSP"
154+
export CORE_PEER_LOCALMSPID=Org2MSP
155155
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp
156156
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
157157
export CORE_PEER_ADDRESS=localhost:9051
@@ -279,7 +279,7 @@ Open a 3rd terminal to represent the spender in Org1 and navigate to fabric-samp
279279
export PATH=${PWD}/../bin:${PWD}:$PATH
280280
export FABRIC_CFG_PATH=$PWD/../config/
281281
export CORE_PEER_TLS_ENABLED=true
282-
export CORE_PEER_LOCALMSPID="Org1MSP"
282+
export CORE_PEER_LOCALMSPID=Org1MSP
283283
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
284284
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
285285
export CORE_PEER_ADDRESS=localhost:7051

token-erc-721/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Note that we need to call the initialize function before being able to use any f
105105
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
106106
```
107107
export CORE_PEER_TLS_ENABLED=true
108-
export CORE_PEER_LOCALMSPID="Org1MSP"
108+
export CORE_PEER_LOCALMSPID=Org1MSP
109109
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
110110
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
111111
export CORE_PEER_ADDRESS=localhost:7051
@@ -123,7 +123,7 @@ Now that we have initialized the contract and created the identity of the minter
123123
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
124124
```
125125
export CORE_PEER_TLS_ENABLED=true
126-
export CORE_PEER_LOCALMSPID="Org1MSP"
126+
export CORE_PEER_LOCALMSPID=Org1MSP
127127
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
128128
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
129129
export CORE_PEER_ADDRESS=localhost:7051
@@ -165,7 +165,7 @@ Let's prepare the Org2 terminal by setting the environment variables for the Org
165165
```
166166
export FABRIC_CFG_PATH=$PWD/../config/
167167
export CORE_PEER_TLS_ENABLED=true
168-
export CORE_PEER_LOCALMSPID="Org2MSP"
168+
export CORE_PEER_LOCALMSPID=Org2MSP
169169
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp
170170
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
171171
export CORE_PEER_ADDRESS=localhost:9051
@@ -280,7 +280,7 @@ Open a 3rd terminal to represent the operator in Org1 and navigate to fabric-sam
280280
export PATH=${PWD}/../bin:${PWD}:$PATH
281281
export FABRIC_CFG_PATH=$PWD/../config/
282282
export CORE_PEER_TLS_ENABLED=true
283-
export CORE_PEER_LOCALMSPID="Org1MSP"
283+
export CORE_PEER_LOCALMSPID=Org1MSP
284284
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
285285
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
286286
export CORE_PEER_ADDRESS=localhost:7051

token-utxo/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Note that we need to call the initialize function before being able to use any f
9999
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
100100
```
101101
export CORE_PEER_TLS_ENABLED=true
102-
export CORE_PEER_LOCALMSPID="Org1MSP"
102+
export CORE_PEER_LOCALMSPID=Org1MSP
103103
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
104104
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
105105
export CORE_PEER_ADDRESS=localhost:7051
@@ -117,7 +117,7 @@ Now that we have initialized the contract and created the identity of the minter
117117
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
118118
```
119119
export CORE_PEER_TLS_ENABLED=true
120-
export CORE_PEER_LOCALMSPID="Org1MSP"
120+
export CORE_PEER_LOCALMSPID=Org1MSP
121121
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp
122122
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
123123
export CORE_PEER_ADDRESS=localhost:7051
@@ -161,7 +161,7 @@ Let's prepare the Org2 terminal by setting the environment variables for the Org
161161
```
162162
export FABRIC_CFG_PATH=$PWD/../config/
163163
export CORE_PEER_TLS_ENABLED=true
164-
export CORE_PEER_LOCALMSPID="Org2MSP"
164+
export CORE_PEER_LOCALMSPID=Org2MSP
165165
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp
166166
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
167167
export CORE_PEER_ADDRESS=localhost:9051

0 commit comments

Comments
 (0)