From: Chris L. <li...@us...> - 2003-12-19 07:45:26
|
Update of /cvsroot/wigwam/wigwam-base/bin-scripts In directory sc8-pr-cvs1:/tmp/cvs-serv18953/bin-scripts Modified Files: config.guess Log Message: Eliminate warning message/broken-ness for systems with newer GNU head head: `-1' option is obsolete; use `-n 1' Try `head --help' for more information. Index: config.guess =================================================================== RCS file: /cvsroot/wigwam/wigwam-base/bin-scripts/config.guess,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- config.guess 8 Feb 2001 17:25:10 -0000 1.1.1.1 +++ config.guess 19 Dec 2003 07:45:22 -0000 1.2 @@ -207,7 +207,7 @@ echo m68k-sun-sunos${UNAME_RELEASE} exit 0 ;; sun*:*:4.2BSD:*) - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + UNAME_RELEASE=`(head -n 1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) @@ -389,7 +389,7 @@ fi exit 0 ;; *:AIX:*:4) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -n 1 | awk '{ print $1 }'` if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then IBM_ARCH=rs6000 else |