From 57f3c1165185542a239bbea226199dfa074653bf Mon Sep 17 00:00:00 2001 From: lezwon Date: Sun, 3 Sep 2017 13:05:34 +0530 Subject: [PATCH] Added quotes to $PWD Without quotes the shell executables fail to run, when the directory path has spaces in Windows --- fabcar/startFabric.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabcar/startFabric.sh b/fabcar/startFabric.sh index fd763367..9c9b412b 100755 --- a/fabcar/startFabric.sh +++ b/fabcar/startFabric.sh @@ -15,7 +15,7 @@ starttime=$(date +%s) if [ ! -d ~/.hfc-key-store/ ]; then mkdir ~/.hfc-key-store/ fi -cp $PWD/creds/* ~/.hfc-key-store/ +cp "$PWD"/creds/* ~/.hfc-key-store/ # launch network; create channel and join peer to channel cd ../basic-network ./start.sh