Request 233 was acted upon. _________________________________________________________________________
URL: https://rt.openpkg.org/id/233 Ticket: [OpenPKG #233] Subject: Both postscript in release 1.3 and current has broken Requestors: [EMAIL PROTECTED] Queue: openpkg Owner: ms Status: open Transaction: Correspondence added by rse Time: Mon Aug 11 09:32:30 2003 ________________________________________________________________________ Ok, I was able to repeat it myself: foo=foo echo $foo { eval `echo foo=bar`; } echo $foo { eval `echo foo=baz`; } >/dev/null echo $foo { eval `echo foo=quux`; } >/dev/null 2>/dev/null echo $foo This correctly prints "foo", "bar", "baz", "quux" on all systems, except for SVR4 /bin/sh (tested on Solaris 9 and UnixWare 7.1.3) where it prints "foo", "bar", "bar", "bar". Seems like brain-dead SVR4 /bin/sh behaves differently in variable assignments if the surrounding grouping has a shell redirection applied. Strange. I've removed the redirection from postfix.spec's %post to avoid the problem. It should be not necessary there anyway. -- Ralf S. Engelschall OpenPKG Project Leader [EMAIL PROTECTED] ______________________________________________________________________ The OpenPKG Project www.openpkg.org Bug Database Interface www.openpkg.org/bugdb Bug Database List [EMAIL PROTECTED]