Date: Thu, 23 Oct 2014 22:37:58 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 194567] New: [PATCH] sysutils/bsdadminscripts - distviper deletes all distfiles if /usr/ports is a symlink Message-ID: <bug-194567-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194567 Bug ID: 194567 Summary: [PATCH] sysutils/bsdadminscripts - distviper deletes all distfiles if /usr/ports is a symlink Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: rwmaillists@googlemail.com CC: cpm@fbsd.es CC: cpm@fbsd.es Created attachment 148596 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148596&action=edit Adds a -H to all uses of find(1) in distviper so symlinks are handled correctly By default find(1) will not follow symlinks given on the command-line. There are several places in distviper where find is used without allowing for this. In particular in the default mode, if PORTSDIR is a link and DISTDIR isn't, then no distinfo files are found and all the distfiles are deleted. This can be fixed by either making sure that find is given directory names that end in a "/" or with the -H option. --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Maintainers CC'd -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194567-13>