On Tuesday 26 September 2006 18:37, David Härdeman wrote: > Author: alphix-guest > Date: Tue Sep 26 16:37:44 2006 > New Revision: 41007 > > Modified: > trunk/packages/partman/partman-crypto/crypto_tools.sh
Please try to avoid hardcoded paths in scripts. In recent commits I noticed quite a few of them. For example, to check for the availability of an executable, the following construct is preferred: if type <executable> >/dev/null 2>&1; then For executing programs/scripts, just calling the executable is preferred (without path). Cheers, FJP
pgpmylQwcLL55.pgp
Description: PGP signature