From 70977814679d84b314b2cf41d8e6b76c0868c21b Mon Sep 17 00:00:00 2001 From: Martin Storsjo <martin@martin.st> Date: Wed, 15 May 2013 20:54:20 +0300 Subject: [PATCH] ads2gas: Use the correct perl string comparison operator Using == ended up matching no matter what string was passed in (which so far only happened if when the -thumb parameter was set). Change-Id: Ifa7b611d016d984aec3b697b5a1a07839f7508dc --- build/make/ads2gas.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/make/ads2gas.pl b/build/make/ads2gas.pl index 533c85ba52..69522bfd86 100755 --- a/build/make/ads2gas.pl +++ b/build/make/ads2gas.pl @@ -21,7 +21,7 @@ my $thumb = 0; foreach my $arg (@ARGV) { - $thumb = 1 if ($arg == "-thumb"); + $thumb = 1 if ($arg eq "-thumb"); } print "@ This file was created from a .asm file\n"; -- GitLab