Opened 15 years ago

Closed 14 years ago

#24111 closed enhancement (fixed)

Adding a DEBUG: message with fullcmdstring in portutil.tcl

Reported by: someuser12 Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.0.0
Component: base Version: 1.8.2
Keywords: haspatch Cc:
Port:

Description

I suggest modifying /opt/local/share/macports/Tcl/port1.0/portutil.tcl so that, in debug mode, not only the environment and assembled command get displayed, but also the full command with prefix and suffix. E.g., in addition to "(cd ... ; tar -xzvf -)" while unarchiving a binary archive of a port, one would get "gzip -d -c ... | (cd ... ; tar -xzvf -)", which makes more sense.

The attached patch to /opt/local/share/macports/Tcl/port1.0/portutil.tcl does that.

Of course, this is not a top priority request.

Attachments (1)

patch.diff (421 bytes) - added by someuser12 15 years ago.
Patch proposal to /opt/local/share/macports/Tcl/port1.0/portutil.tcl

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by someuser12

Attachment: patch.diff added

Patch proposal to /opt/local/share/macports/Tcl/port1.0/portutil.tcl

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: haspatch added; debug message fullcmdstring portutil.tcl removed

comment:2 Changed 14 years ago by jmroot (Joshua Root)

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