Subject: bulk/pre-build
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 08/21/2006 21:24:32
--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi,
In mk/bulk/pre-build, line #168, we do the following:
rm -f "${BULKFILESDIR}"/*/*/"$BROKENF" "${BULKFILESDIR}"/*/*/"$BRKWRKLOG" \
"${BULKFILESDIR}"/*/*/"$BLDLOG"
On some platforms, this will exceed the maximum number of arguments for
the shell, causing the broken files not to be removed. I think this
should be changed to use find(1) instead.
Untested:
find ${BULKFILESDIR} \( -name $BROKENF -o -name $BRKWRKLOG \
-o -name $BLDLOG \) -exec rm -f {} \;
Sound ok?
-Jan
--=20
This is so cool I have to go to the bathroom.
--envbJBWh7q8WU6mo
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iD8DBQFE6lzPfFtkr68iakwRArviAKCYJvwFk8t7B06TETuMSoIz0ZdmqgCg9iz2
sKh7EkjKtJ5bWsDa/Gv1SuA=
=/y3b
-----END PGP SIGNATURE-----
--envbJBWh7q8WU6mo--