freebsd-ports/sysutils/bsdadminscripts
Kurt Jaeger 006d036ae6 sysutils/bsdadminscripts: fix distviper
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.

PR:		194567
Submitted by:	rwmaillists@googlemail.com
Approved by:	Carlos Jacobo Puga Medina <cpm@fbsd.es> (maintainer)
2014-11-07 22:53:13 +00:00
..
files
distinfo
Makefile
pkg-descr
pkg-plist