severity 276964 minor tags 276964 - moreinfo unreproducible reassign 276964 dash,wwwconfig-common retitle 276964 wwwconfig-common's mysql-ifnot-exec.sh aborts with dash thanks
On Tue, Feb 22, 2005 at 01:05:33PM +0100, Marco Nenciarini wrote: > On Tue, Feb 22, 2005 at 01:43:17AM +0100, Jeroen van Wolffelaar wrote: > > What shell do you use? Can you do a 'ls -l /bin/sh'? > > > > I am using dash. I use this pachine for my developements, and i need > it to test posix complyance of my scripts. > > | elif ! eval $mysqlcmd -f $dbname -e "\"$statement\"" >/dev/null 2>&1 ; > > then > > | log="${log}Executing command to mysql." > > | (...) > > | else > > | status=nothing > > | fi > > > > This should, even though set -e is enabled, NOT result in abortion of shell > > execution. > > I'll investigate ASAP. This very much looks like an issue with the combination of dash with wwwconfig-common then. Reassigning to both so that the respective maintainers can investigate and reassign to the one package at fault (I don't know whether this is dash's fault, or wwwconfig-common's). Since dash is also not a shell people normally use, severity is minor. Please in the future do list that you use dash, as it is a non-standard shell known to cause numerous issues with postinsts. Withholding that information only delays debugging of the problem. --Jeroen -- Jeroen van Wolffelaar [EMAIL PROTECTED] (also for Jabber & MSN; ICQ: 33944357) http://Jeroen.A-Eskwadraat.nl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]