mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2025-04-21 12:27:27 +03:00
cameo/fped2stl.pl: use "eq" for string equality, not "=="
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user