Ticket #24111 (closed enhancement: fixed)
Adding a DEBUG: message with fullcmdstring in portutil.tcl
| Reported by: | macosx12345@… | 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
Change History
Changed 3 years ago by macosx12345@…
- Attachment patch.diff added
Note: See
TracTickets for help on using
tickets.


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