Date: Tue, 26 Nov 2002 21:14:18 -0800 From: paul beard <paulbeard@mac.com> To: Clint Olsen <clint@0lsen.net> Cc: questions@FreeBSD.ORG Subject: Re: 4.7 changes to /bin/sh? Message-ID: <3DE454AA.5000904@mac.com> In-Reply-To: <20021127043410.GA25180@0lsen.net> References: <20021127043410.GA25180@0lsen.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ <http://paulbeard.no-ip.org/movabletype/> You're never too old to become younger. -- Mae West To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DE454AA.5000904>