Added quotes to $PWD

Without quotes the shell executables fail to run, when the directory path
has spaces in Windows
This commit is contained in:
lezwon 2017-09-03 13:05:34 +05:30
parent 7dc852b15a
commit 57f3c11651

View file

@ -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