[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs
From:       Adrian Schroeter <adrian () suse ! de>
Date:       2003-05-07 7:08:44
[Download RAW message or body]

CVS commit by adrian: 

head -1 -> head -n 1. new coreutils do not support the non-posix syntax
and it looks save on all architectures.


  M +2 -2      configure.in.in   1.108


--- kdelibs/configure.in.in  #1.107:1.108
@@ -249,5 +249,5 @@
 *)
   for flag in '-v' '-V' '--version' '-version'; do
-    compiler_version=`$CXX $flag 2>&1 | egrep -v "Reading specs|Using built-?in \
specs|Configured with|Thread model" | head -1` +    compiler_version=`$CXX $flag 2>&1 \
| egrep -v "Reading specs|Using built-?in specs|Configured with|Thread model" | head \
                -n 1`
     clean_compiler_version=`echo $compiler_version | egrep -vi 'Usage|ERROR|unknown \
option|WARNING|missing|###'`  test -n "$clean_compiler_version" && break
@@ -269,5 +269,5 @@
   IBM_ARCH=PowerPC #good default
   if [ -x /usr/sbin/lsdev -a -x /usr/sbin/lsattr ]; then
-    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 -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
       IBM_ARCH=POWER


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic