Skip to content

Commit

Permalink
Enclose with double quotation.
Browse files Browse the repository at this point in the history
motion-appstore is asking my password every time.
Because my apple id is not an email and it's included a space; then it's divided two pieces.
  • Loading branch information
katsuyoshi committed Mar 17, 2016
1 parent 51ef426 commit 2684424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def archive_path

def password
# retrive password from keychain which might be created by Xcode
`security find-internet-password -g -a #{@adc_id} -s idmsa.apple.com -r htps 2>&1`.each_line { |line|
`security find-internet-password -g -a \"#{@adc_id}\" -s idmsa.apple.com -r htps 2>&1`.each_line { |line|
if line =~ /^password: "(.+)"$/
return $1
end
Expand Down

0 comments on commit 2684424

Please sign in to comment.