Subject: Re: wrong list of provided libraries when using DESTDIR
To: None <tech-pkg@NetBSD.org>
From: Klaus Heinz <k.heinz.mai.sieben@kh-22.de>
List: tech-pkg
Date: 05/16/2007 20:58:19
Joerg Sonnenberger wrote:

> I'm not sure if # is supported by all shells, but otherwise no.
> If this is in a loop, filter with a single sed?

Some days ago I inquired about the use of this kind of parameter
expansion and people agreed, that shells, like Solaris' /bin/sh, which do
not support this are not usable for pkgsrc anyway.

At the moment the loop runs completely inside the shell (unless ${TEST}
or ${ECHO} are external commands). I do not know how many libraries a
package has to provide so that a call to sed would be more efficient...

ciao
     Klaus