sh-utils 1.15

Support knowledgebase (shutils)
Applicable to
S.u.S.E. version: 4.4
Kernel version: until 2.0.28
sh-utils version: 1.12 / 1.15

Symptom:

If sh-utils 1.15 is installed (by this the S.u.S.E. package sh_utils's programmes are replaced), then expr is more conformed to POSIX.

This gives problems when numbers are entered in /usr/src/linux/scripts/Configure.

Solution:

The kernel sources' following patch with the new version:
--- scripts/Configure   1997/01/15 16:41:24     1.1
+++ scripts/Configure   1997/01/15 16:42:02
@@ -288,7 +288,7 @@
        def=${old:-$3}
        while :; do
          readln "$1 ($2) [$def] " "$def" "$old"
-         if expr "$ans" : '0$\|-?[1-9][0-9]*$' > /dev/null; then
+         if expr "$ans" : '0$\|-\?[1-9][0-9]*$' > /dev/null; then
            define_int "$2" "$ans"
            break
          else

Hints:


Keywords: SH-UTILS, SHUTILS, KERNEL, CONFIGURE, POSIX

Feedback welcome: Send Mail to kfr@suse.de (Please give the following subject: SDB-shutils)
SDB-shutils, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 23. Jul 2002 13:52:48
SuSE Linux AG - Last generated: 23. Jul 2002 13:52:48 by kfr (sdb_gen 1.40.0)