[Bug 3624] New: non-portable use of 'head -n1' and 'tail -n1' in Makefile.

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun May 4 11:33:33 EDT 2008


http://bugzilla.icculus.org/show_bug.cgi?id=3624

           Summary: non-portable use of 'head -n1' and 'tail -n1' in
                    Makefile.
           Product: Quake 3
           Version: SVN HEAD
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Platform
        AssignedTo: zakk at icculus.org
        ReportedBy: vincent at cojot.name
         QAContact: quake3-bugzilla at icculus.org


The use of 'head -n1' and 'tail -n1' is not portable. These should be 'head -1'
and 'tail -1' respectively.

On solaris, this output:

gmake[1]: Leaving directory
`/net/thorbardin/export/home/raistlin/SVN/icculus/quake3-Solaris/trunk'
usage: tail [+/-[n][lbc][f]] [file]
       tail [+/-[n][l][r|f]] [file]
gmake[1]: Entering directory
`/net/thorbardin/export/home/raistlin/SVN/icculus/quake3-Solaris/trunk'


-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the quake3-bugzilla mailing list