Opened 8 years ago

Closed 7 years ago

#51972 closed defect (fixed)

port echo depof:nonexistent returns zero

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), neverpanic (Clemens Lang), raimue (Rainer Müller), kurthindenburg (Kurt Hindenburg)
Port:

Description

$ port info nonexistent; echo $?
Error: Port nonexistent not found
0

$ port deps nonexistent; echo $?
Error: Port nonexistent not found
0

$ port echo depof:nonexistent; echo $?
Port nonexistent not found
    while executing
"get_dep_ports $portname $recursive"
    ("^(depof):(.*)" arm line 8)
    invoked from within
"switch -regex -matchvar matchvar -- $token {
        ^\\)$               -
        ^\;                 -
        ^_EOF_$             { # End of expres..."
    (procedure "element" line 12)
    invoked from within
"element reslist"
    (procedure "unaryExpr" line 17)
    invoked from within
"unaryExpr reslist"
    (procedure "andExpr" line 4)
    invoked from within
"andExpr reslist"
    (procedure "orExpr" line 4)
    invoked from within
"orExpr blist"
    (procedure "seqExpr" line 16)
    invoked from within
"seqExpr reslist"
    (procedure "portExpr" line 3)
    invoked from within
"portExpr portlist"
    (procedure "process_cmd" line 101)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 5640)
0
$

Change History (3)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Related to #45156.

comment:2 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added

It appears this has been fixed - all the examples return 1

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.