patch-2.4.0-test2 linux/scripts/Menuconfig
Next file: linux/scripts/cramfs/mkcramfs.c
Previous file: linux/scripts/Configure
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Jun 19 13:45:52 2000
- Orig file:
v2.4.0-test1/linux/scripts/Menuconfig
- Orig date:
Tue Apr 11 15:09:27 2000
diff -u --recursive --new-file v2.4.0-test1/linux/scripts/Menuconfig linux/scripts/Menuconfig
@@ -545,7 +545,7 @@
# Semantics of + and ? in GNU expr changed, so
# we avoid them:
- if expr "$answer" : '0$\|-[1-9][0-9]*$\|[1-9][0-9]*$' >/dev/null
+ if expr "$answer" : '0$' '|' "$answer" : '[1-9][0-9]*$' '|' "$answer" : '-[1-9][0-9]*$' >/dev/null
then
eval $2="$answer"
else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)