fix basename 'too many arguments' error when working directory path contains spaces
Merge pull request #10 from ByFe/fix-space-in-pwd-basename-error

Fix basename 'too many arguments' error