On Tue, Nov 26, 2002 at 09:14:18PM -0800, paul beard wrote: > Clint Olsen wrote: > > >Hi: > > > >I installed the port for thttpd, and when I upgraded to 4.7, it > >broke my > >rc.d script, complaining about an unexpected '&&'. > > > >The line it bitched about was something like: > > > >[ -x ${PREFIX}/sbin/thttpd_wrapper ] && > >${PREFIX}/sbin/thttpd_wrapper & && > >echo -n ' thttpd' > > > >I presume it was complaining about running a command in the > >background and > >then trying to use the && operator to run the following command. > > > check to see how ${PREFIX} is being evaluated: I have found quite > a few rc scripts where it never worked: I just hard-coded the > necessary values.
No, it's the "& &&" construction, which is illegal and should never have been allowed. Update to the latest version of the port and submit a PR if the bug persists. Kris
msg10313/pgp00000.pgp
Description: PGP signature