Skip to content

Commit

Permalink
Fix for invalid characters in command line
Browse files Browse the repository at this point in the history
Provisioning profile names can contain characters that make the command
line throw a syntax error without being quoted.
  • Loading branch information
arrmnd committed Dec 8, 2014
1 parent b3a1e05 commit edb6b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Titanium.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,10 @@ def select_ios_profile(self, select):
options = ["--target", self.target, "--pp-uuid", profile, "--device-family", self.family]

if self.target == "device":
options.extend(["--developer-name", self.cert[0]])
options.extend(["--developer-name", "\"" + self.cert[0] + "\""])
options.extend(["--device-id", self.deviceudid])
else:
options.extend(["--distribution-name", self.cert])
options.extend(["--distribution-name", "\"" + self.cert + "\""])

if self.target == "dist-adhoc":
options.extend(["--output-dir", self.project_folder + "/dist"])
Expand Down

0 comments on commit edb6b47

Please sign in to comment.