Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug with spaces in cmd line args. #40

Merged
merged 1 commit into from
Mar 28, 2016
Merged

Fix a bug with spaces in cmd line args. #40

merged 1 commit into from
Mar 28, 2016

Conversation

azhawkes
Copy link
Contributor

When volumeName or dmgName contain spaces and there is a background image, runCmd fails because it is interpreted literally and spaces are not escaped. Because of this, hdiutil thought they were separate arguments.

This was only an issue with the runCmd routine -- commandLine was already handling it correctly.

When volumeName or dmgName contain spaces or special characters and there is a background image, the runCmd fails because it is interpreted literally and spaces are not escaped. This change passes the command line as separate chunks which are handled properly.
@crotwell crotwell merged commit 4385952 into crotwell:master Mar 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants