Skip to content

Commit

Permalink
Apk: support != in test statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Dec 4, 2024
1 parent 0d0b1af commit 5e4da38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Build/Apk.pm
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ sub do_test {
$t = $args[1] ne '' ? 1 : 0;
} elsif (($args[1] eq '=' || $args[1] eq '==') && @args > 2) {
$t = $args[0] eq $args[2] ? 1 : 0;
} elsif ($args[1] eq '!=' && @args > 2) {
$t = $args[0] ne $args[2] ? 1 : 0;
} elsif (($args[1] eq '-ne') && @args > 2) {
$t = $args[0] != $args[2] ? 1 : 0;
} elsif (($args[1] eq '-eq') && @args > 2) {
Expand Down

0 comments on commit 5e4da38

Please sign in to comment.