Subject: Re: pkg/20826: parallel/pvm3 fails to install
To: None <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 03/21/2003 00:23:19
> Quoting the arguments to tr in arch.mk fixes the problem.
> Curiously, bash evaluates the command
> echo i386 | /usr/bin/tr [a-z] [A-Z]
> successfully, whereas our sh does not. Is this a bug in sh
> or a bug in bash, or is either behavior deemed acceptable?
> In any case, it seems like a good idea to quote the arguments
> in arch.mk.
They MUST be quoted, all shells (hopefully including bash) will expand
[a-z] to the list of all single character filenames in the current
directory. If no such files exist they will be left alone.
Failing to quote [a-z] is a common problem :-(
David Laight: email@example.com