Bug 41349

Summary: /bin/sh MFC from PR/40386 breaks pwcheck, mysql-server rc.d scripts
Product: Ports & Packages Reporter: brad <brad>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description brad 2002-08-05 21:20:14 UTC
      The recent MFC precluding sh from allowing && to precede a command
prevents the shell from processing a command such as:

pwcheck & && echo -n ' pwcheck'

This causes any ports rc.d script using this method (which is hideous
and incorrect) to fail on bootup.

Fix: 

Remove all instances of 

command & && anothercommand 

from ports shell scripts.
How-To-Repeat:       Problem noticed with latest MFC of /bin/sh and mysql323-server from ports.

CVS this version of /bin/sh and install mysql323-server; reboot and observe
error.
Comment 1 dirk freebsd_committer freebsd_triage 2002-11-17 16:11:03 UTC
State Changed
From-To: open->closed

Both ports were fixed meanwhile.