freebsd-dev/release/scripts/lib32-make.sh
John Baldwin 862ab0643e MFC 196521:
Fix a few issues with the lib32 dist so that it includes ldd32.
- Use a better find invocation to purge empty directories from all the dist
  trees during a release build.  The previous version did not purge
  directories whose contents were all empty directories.
- Explicitly blacklist a few files from the lib32 dist instead of using a
  whitelist.  A better longterm solution is to fix the few offenders to not
  install data files during a lib32 install.

Approved by:	re (kib)
2009-08-27 17:16:23 +00:00

9 lines
144 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# Clean the dust.
cd ${RD}/trees/lib32 && \
find . '(' -path '*/usr/share/*' -or -path '*/usr/lib/*' ')' -delete