Ignore:
Timestamp:
Sep 17, 2013, 11:47:24 PM (6 years ago)
Author:
ryandesign@…
Message:

perl5-1.0.tcl: use eq and ne for comparing strings instead of == and != respectively

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/perl5-1.0.tcl

    r99613 r111268  
    129129        }
    130130
    131         if {$subport == $name} {
     131        if {$subport eq $name} {
    132132            perl5.major
    133133            distfiles
     
    145145        depends_lib port:perl${perl5.default_branch}
    146146    }
    147     if {![string match p5-* $name] || $subport != $name} {
     147    if {![string match p5-* $name] || $subport ne $name} {
    148148        configure.cmd       ${perl5.bin}
    149149        configure.env       PERL_AUTOINSTALL=--skipdeps
     
    188188    global perl5.bin destroot perl5.major
    189189
    190     if {${perl5.major} == ""} {
     190    if {${perl5.major} eq ""} {
    191191        return
    192192    }
Note: See TracChangeset for help on using the changeset viewer.