Skip to content

Commit

Permalink
Merge pull request #1249 from MichalDepta/quote-jarsigner-args
Browse files Browse the repository at this point in the history
XamarinHelper: surround jarsigner input file path with quotes
  • Loading branch information
forki committed May 30, 2016
2 parents dad627a + 5f1d07f commit 47b7a16
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 47b7a16

Please sign in to comment.