Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Single quotes in command-line arguments are not handled properly #91

Closed
bojan opened this issue Jan 9, 2014 · 1 comment
Closed

Single quotes in command-line arguments are not handled properly #91

bojan opened this issue Jan 9, 2014 · 1 comment

Comments

@bojan
Copy link

bojan commented Jan 9, 2014

When an argument contains a single quote (e.g. -s "Foo'bar"), the script exits with an error:

sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
error: Shenzhen::XcodeBuild::NilOutputError. Use --trace to view backtrace

Wrapping the arguments in double instead of single quotes in commands/build.rb (lines 46-49 in flags) helped.

@mattt
Copy link
Contributor

mattt commented May 12, 2014

Fixed by fea41a8.

@mattt mattt closed this as completed May 12, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants