[MacPorts] #55492: move: case-only renames fail when no arguments are given
MacPorts
noreply at macports.org
Sat Dec 9 16:46:56 UTC 2017
#55492: move: case-only renames fail when no arguments are given
------------------------+------------------------
Reporter: ryandesign | Owner: ryandesign
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.4.99
Keywords: | Port:
------------------------+------------------------
See https://lists.macports.org/pipermail/macports-
dev/2017-December/036965.html
In `proc move` we have an `options` variable, but if the caller didn't
supply any arguments (e.g. didn't supply `-force`, which is the only
recognized argument), then it's empty. But we still use the empty
`options` variable when calling `file rename`, which then misinterprets it
as the name of a file we want to move.
--
Ticket URL: <https://trac.macports.org/ticket/55492>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list