[postgis-tickets] [PostGIS] #3488: make_dist.sh uses non-POSIX "mv -T"
PostGIS
trac at osgeo.org
Thu Mar 3 00:41:00 PST 2016
#3488: make_dist.sh uses non-POSIX "mv -T"
------------------------------------+----------------------------
Reporter: gdt | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS Future
Component: build/upgrade/install | Version: trunk
Resolution: | Keywords:
------------------------------------+----------------------------
Comment (by strk):
-T does not remove the old directory, but simply refuses to consider
it a target directory in which to _move_ things:
{{{
-T, --no-target-directory
treat DEST as a normal file
}}}
If the directory exists, it would fail.
But then we add --backup=t, which renames the target directory,
if existing. Finding a name which is available, from a pattern.
Anyway, simplified the code by forcing removal of target dir
with r14737. Once happy this will need to be copied over
the 2.2 branch.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3488#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list