simonthum / git-sync

Safe and simple one-script git synchronization
773 stars 99 forks source link

Double-quote $PWD in __gitdir() - path may contain spaces #15

Closed carlesbellver closed 4 years ago

carlesbellver commented 4 years ago

__gitdir() fails when the path contains a space. Putting $PWD inside double quotes fixes this problem.

Thanks for this script. It has been very useful for me!

simonthum commented 4 years ago

Thank you very much!