#55492 closed defect (fixed)
move: case-only renames fail when no arguments are given
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.4.3 |
Component: | base | Version: | 2.4.99 |
Keywords: | Cc: | kencu (Ken) | |
Port: |
Description
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.
Change History (8)
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:4 Changed 7 years ago by neverpanic (Clemens Lang)
Milestone: | → MacPorts Future |
---|
comment:5 Changed 7 years ago by raimue (Rainer Müller)
Milestone: | MacPorts Future → MacPorts 2.4.3 |
---|
comment:6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:7 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:8 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Note: See
TracTickets for help on using
tickets.
In acc1e62d8560609652977e563734f805c41244cf/macports-base: