INDEX build optimizations - please review

Pietro Cerutti gahr at FreeBSD.org
Tue Jun 10 18:03:40 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Kris Kennaway wrote:

| Another important optimization is to use /rescue/sh instead of /bin/sh
| for index builds.  The former is statically linked and this is much
| faster to execute.

True, but the for is not even guaranteed to exist (WITHOUT_RESCUE in
src.conf or similar).

I would opt for checking, and use it only if it exists

| Kris

- --
Pietro Cerutti
gahr at FreeBSD.org

PGP Public Key:
http://gahr.ch/pgp

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhOsRUACgkQwMJqmJVx945PpgCeO6ylFV7Lnsizo1p0v9h1jJX1
1RYAn2jwtKuwiy4aXAAsST2CidupEKmO
=hsgo
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list