[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#325504: better patch



Here is a revised version of the patch which replaces the bash
substitution with a POSIX substitution that will work in both bash and
dash.

--- glibc.sh.orig	2005-08-29 13:29:42.000000000 -0400
+++ glibc.sh	2005-08-29 13:33:19.000000000 -0400
@@ -97,7 +97,7 @@
     # Note that parisc64 kernel version scheme is "`uname -r`-64".
     if [ "$realarch" = parisc64 ]
     then
-	if [ $kernel_ver = ${kernel_ver/pa/} ]
+	if [ $kernel_ver = ${kernel_ver#pa} ]
 	then
 	    if dpkg --compare-versions "$kernel_ver" lt 2.4.19-64
 	    then

-- 
things change.
decklin@red-bean.com



Reply to: