Make this more deterministic by sorting the libraries before processing
them and ensuring that we always use the samme collation rules. Approved by: re (gjb)
This commit is contained in:
parent
62e12363af
commit
4a76b49949
@ -28,6 +28,7 @@
|
||||
|
||||
export PATH=/bin:/usr/bin
|
||||
|
||||
LC_ALL=C # make sort deterministic
|
||||
FS=': ' # internal field separator
|
||||
LIBDEPENDS=./_libdeps # intermediate output file
|
||||
USRSRC=${1:-/usr/src} # source root
|
||||
@ -64,7 +65,7 @@ genlibdepends()
|
||||
{
|
||||
(
|
||||
cd ${USRSRC}
|
||||
find ${LIBS} -mindepth 1 -name Makefile |
|
||||
find -s ${LIBS} -mindepth 1 -name Makefile |
|
||||
xargs grep -l 'bsd\.lib\.mk' |
|
||||
while read makefile; do
|
||||
libdir=$(dirname ${makefile})
|
||||
|
Loading…
Reference in New Issue
Block a user