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

           Summary: staged quilt scripts contain absolute path to gawk
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Build
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


Quilt's generated scripts (in tmp/staging/BUILD_SYS/share/quilt) contain
invocations of gawk by absolute pathname.  For example, from the "push" script:

colorize()
{
        if [ -n "$opt_color" ]; then
                /bin/gawk '
                { if (/FAILED|hunks? ignored|can'\''t find file|file .* already
exists/)

This is a bit of an annoyance because it makes the staging area rather specific
to the particular filesystem layout on the build machine.  In particular, it
makes it impossible to share a staging area between a Debian host and a Red Hat
one, because the two of them put gawk in different places.

Given that gawk is always on $PATH in any reasonable installation, it seems
like it would be better to just invoke it as plain "gawk" and allow the shell
to find the right executable.


-- 
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.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to