Skip to content

Commit

Permalink
Added surrounding the jarsigner input file argument with quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-depta committed May 20, 2016
1 parent 8c077f3 commit 5f1d07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/FakeLib/XamarinHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ let AndroidSignAndAlign setParams apkFile =
let signAndAlign (file:FileInfo) (param:AndroidSignAndAlignParams) =
let fullSignedFilePath = Regex.Replace(file.FullName, ".apk$", "-Signed.apk")
let jarsignerArgs = String.Format("-sigalg {0} -digestalg {1} -keystore {2} -storepass {3} -signedjar {4} {5} {6}",
param.SignatureAlgorithm, param.MessageDigestAlgorithm, quotesSurround(param.KeystorePath), param.KeystorePassword, quotesSurround(fullSignedFilePath), file.FullName, param.KeystoreAlias)
param.SignatureAlgorithm, param.MessageDigestAlgorithm, quotesSurround(param.KeystorePath), param.KeystorePassword, quotesSurround(fullSignedFilePath), quotesSurround(file.FullName), param.KeystoreAlias)

executeCommand param.JarsignerPath jarsignerArgs

Expand Down

0 comments on commit 5f1d07f

Please sign in to comment.