[MacPorts] #64297: Allow "." as synonym for current port directory
MacPorts
noreply at macports.org
Sun Dec 26 16:20:09 UTC 2021
#64297: Allow "." as synonym for current port directory
-------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.7.99
Keywords: | Port:
-------------------------+--------------------
Many shell commands use `.` to indicate the current directory. I often run
commands like `git add .` or `git commit .`. It's only natural that from
time to time I also end up trying to run `port` commands with `.`, such as
`port lint .` but this currently gives an error:
{{{
Error: Port . not found
}}}
Might we allow `.` to indicate the current directory? MacPorts already
operates on the current directory when no port name is specified, but
since `git` defaults to operating on the entire clone rather than the
current directory, I am now in the habit of specifying `.` on commands.
--
Ticket URL: <https://trac.macports.org/ticket/64297>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list