Apple or BASH script to automatically install multiple apps
Is it possible that the editor you are using to create the script is using "smartquotes" instead of regular double quotes, and so it's not treating the quoted material as a single parameter?

Try getting rid of the quotes and escaping the spaces with \ and see if that works. If it does, then make sure you're using a plain old text editor that won't mess with your quotes.