]> granicus.if.org Git - libvpx/commitdiff
ads2gas: Use the correct perl string comparison operator
authorMartin Storsjo <martin@martin.st>
Wed, 15 May 2013 17:54:20 +0000 (20:54 +0300)
committerMartin Storsjo <martin@martin.st>
Wed, 15 May 2013 17:56:50 +0000 (20:56 +0300)
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

index 533c85ba525ddc48c5740811140c1f21eb694734..69522bfd86e8911f24f40fb5a62f59f00c73d79c 100755 (executable)
@@ -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";