1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 23:43:00 +02:00

cameo/fped2stl.pl: use "eq" for string equality, not "=="

This commit is contained in:
Werner Almesberger 2013-11-03 19:05:56 -03:00
parent 5b70e92254
commit 30676651ec

View File

@ -60,9 +60,9 @@ print STDERR "$name $z ...\n";
while ($ARGV[0] =~ /^-/) {
if ($ARGV[0] == "-x") {
if ($ARGV[0] eq "-x") {
$flip_x = 1;
} elsif ($ARGV[0] == "-y") {
} elsif ($ARGV[0] eq "-y") {
$flip_y = 1;
} elsif ($ARGV[0] =~ /^-[^0-9]/) {
last;