lkml.org 
[lkml]   [1997]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: New 2.0.31 pre patch is out
> I would love it if only one more pre-patch is needed for a final
> 2.0.31 so people please test this well.

The configure script does not work for me.
function int does not accept "0" as valid answer.
I'm not sure if it is a shell utils bug however
I'm using expr (GNU sh-utils) 1.16

From linux/scripts/Configure

function int () {
old=$(eval echo "\${$2}")
def=${old:-$3}
while :; do
readln "$1 ($2) [$def] " "$def" "$old"
if expr "$ans" : '0$\|\(-[1-9]\|[1-9]\)[0-9]*$' > /dev/null; then
This expr ^ fails if given 0

define_int "$2" "$ans"
break
else
help "$2"
fi
done
}


Tom

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.071 / U:1.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site