[oe] [Bug 1457] New: Stream redirection in log_check() does not work with /bin/sh

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Fri Oct 6 11:17:43 UTC 2006


http://bugs.openembedded.org/show_bug.cgi?id=1457

           Summary: Stream redirection in log_check() does not work with
                    /bin/sh
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Distributions
        AssignedTo: openembedded-devel at lists.openembedded.org
        ReportedBy: di at fh-wedel.de
         QAContact: tinderbox-oe at gmx.net


Consider the following code:

if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") &>/dev/null 

This fails if /bin/sh points to a dumb shell, like e.g. /bin/dash.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the Openembedded-devel mailing list