Skip to content

Commit 1c3b505

Browse files
committed
Fix typo in AndroidSignPackage
1 parent 24d0a75 commit 1c3b505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Xamarin.Android.Build.Tasks/Tasks/AndroidSignPackage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected override string GenerateCommandLineCommands ()
4444
cmd.AppendSwitchIfNotNull ("-storepass ", StorePass);
4545
cmd.AppendSwitchIfNotNull ("-keypass ", KeyPass);
4646
cmd.AppendSwitchIfNotNull ("-digestalg ", "SHA1");
47-
cmd.AppendSwitchIfNotNull ("-sigalg ", string.IsNullorWitespace(SigningAlgorithm) ? "md5withRSA" :SigningAlgorithm);
47+
cmd.AppendSwitchIfNotNull ("-sigalg ", string.IsNullOrWhiteSpace(SigningAlgorithm) ? "md5withRSA" :SigningAlgorithm);
4848
cmd.AppendSwitchIfNotNull ("-signedjar ", String.Format ("{0}{1}{2}-Signed-Unaligned.apk", SignedApkDirectory, Path.DirectorySeparatorChar, Path.GetFileNameWithoutExtension (UnsignedApk)));
4949

5050
cmd.AppendFileNameIfNotNull (UnsignedApk);

0 commit comments

Comments
 (0)