You've already forked macports-contrib
mirror of
https://github.com/macports/macports-contrib.git
synced 2026-07-12 18:18:45 -07:00
cpan2port: minor style improvement
Use ne instead of != for non-numeric exact string comparison Use alternative delimiter qq[] to avoid escaping "" in string
This commit is contained in:
committed by
Perry E. Metzger
parent
b0e302e17a
commit
83f97026c5
+1
-1
@@ -260,7 +260,7 @@ sub portfile {
|
||||
}
|
||||
}
|
||||
if ($depends_build.$depends_lib ne '') {
|
||||
$depends = "\nif {\${perl5.major} != \"\"} {\n" . $depends_build . $depends_lib . "}\n";
|
||||
$depends = qq[\nif {\${perl5.major} ne ""} {\n] . $depends_build . $depends_lib . "}\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user