reopen 292116
thanks
Thanks for the fix, but this doesn't work if /bin/sh is dash -- the
correct character to negate a character class in a pattern match is !,
not ^ (although bash still accepts the latter for the sake of not
gratuitously breaking things). Cf. POSIX 3.13.
--- module-init-tools.dpkg-dist 2005-01-28 19:28:59.000000000 -0500
+++ module-init-tools 2005-01-28 19:31:06.000000000 -0500
@@ -8,7 +8,7 @@
PATH="/sbin:/bin"
KVER=$(uname -r)
-KMAJ=${KVER%${KVER#*.*[^.]}}
+KMAJ=${KVER%${KVER#*.*[!.]}}
KMAJ=${KMAJ%.}
if [ -w /lib/modules/$KVER/ ]; then
--
things change.
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]