Opened 8 years ago

Last modified 6 years ago

#53730 new enhancement

copy, delete, move, touch: support -W argument for changing working directory

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.4.1
Keywords: Cc:
Port:

Description

reinplace, system and xinstall already support a -W argument for specifying the working directory. We should add this to the copy, delete, move and touch commands so that developers don't find using system more convenient (e.g. [52d3c5a9131bd5779bf8986c4b27366d387e4c5e/macports-ports]).

Change History (1)

comment:1 Changed 6 years ago by Kurt Hindenburg <kurt.hindenburg@…>

In a90c4b29ac3b55d7ce960012386f36309ba09034/macports-base (master):

port: add -W to touch command

Instead of having to use system(), use touch -W dir file

See #53730

Note: See TracTickets for help on using tickets.