mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
FAB-5392 Fix path issue for Git Bash users
Git Bash is a prereq for Windows users required to run the various sample scripts. Git Bash by default will convert paths and this causes the issue identified by FAB-5392. Luckily Git Bash provides supports an environment variable to override this behavior. Change-Id: I66e52eb2953c0dcc9f04903a1fd1fd94d19b75ce Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
This commit is contained in:
parent
1153988540
commit
a7e83fc235
2 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,9 @@
|
||||||
# Exit on first error, print all commands.
|
# Exit on first error, print all commands.
|
||||||
set -ev
|
set -ev
|
||||||
|
|
||||||
|
# don't rewrite paths for Windows Git Bash users
|
||||||
|
export MSYS_NO_PATHCONV=1
|
||||||
|
|
||||||
docker-compose -f docker-compose.yml down
|
docker-compose -f docker-compose.yml down
|
||||||
|
|
||||||
docker-compose -f docker-compose.yml up -d ca.example.com orderer.example.com peer0.org1.example.com couchdb
|
docker-compose -f docker-compose.yml up -d ca.example.com orderer.example.com peer0.org1.example.com couchdb
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,9 @@
|
||||||
# Exit on first error
|
# Exit on first error
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# don't rewrite paths for Windows Git Bash users
|
||||||
|
export MSYS_NO_PATHCONV=1
|
||||||
|
|
||||||
starttime=$(date +%s)
|
starttime=$(date +%s)
|
||||||
|
|
||||||
if [ ! -d ~/.hfc-key-store/ ]; then
|
if [ ! -d ~/.hfc-key-store/ ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue