mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-23 09:17:42 +02:00
cameo/fped2stl.pl: use "eq" for string equality, not "=="
This commit is contained in:
parent
5b70e92254
commit
30676651ec
@ -60,9 +60,9 @@ print STDERR "$name $z ...\n";
|
|||||||
|
|
||||||
|
|
||||||
while ($ARGV[0] =~ /^-/) {
|
while ($ARGV[0] =~ /^-/) {
|
||||||
if ($ARGV[0] == "-x") {
|
if ($ARGV[0] eq "-x") {
|
||||||
$flip_x = 1;
|
$flip_x = 1;
|
||||||
} elsif ($ARGV[0] == "-y") {
|
} elsif ($ARGV[0] eq "-y") {
|
||||||
$flip_y = 1;
|
$flip_y = 1;
|
||||||
} elsif ($ARGV[0] =~ /^-[^0-9]/) {
|
} elsif ($ARGV[0] =~ /^-[^0-9]/) {
|
||||||
last;
|
last;
|
||||||
|
Loading…
Reference in New Issue
Block a user