Subject: Re: make print-PLIST and pkg_add use different quote/escape conventions
To: J Chapman Flack <flack@cs.purdue.edu>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 03/13/2005 22:06:47
On Sun, 13 Mar 2005, J Chapman Flack wrote:
> make print-PLIST outputs an @exec ${MKDIR} line for the empty directory
> brown&sharpe, but this fails in pkg_add because & is a shell metacharacter.
Yuck.
From a quick look at the code, this shouldn't happen, but I wonder if
fexec() does expand shell wildcards instead of straight calling exec().
- Hubert
--
NetBSD - Free AND Open! (And of course secure, portable, yadda yadda)