quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] fix patch version check in configure.ac


From: Dean Roehrich
Subject: [Quilt-dev] fix patch version check in configure.ac
Date: Mon, 23 Jan 2006 11:33:35 -0600
User-agent: Mutt/1.5.9i

On solaris we need to use the approved version of tr when
checking the version of patch.

Dean


Index: work20060123/configure.ac
===================================================================
--- work20060123.orig/configure.ac      2006-01-23 11:26:24.283247000 -0600
+++ work20060123/configure.ac   2006-01-23 11:26:59.694531000 -0600
@@ -214,7 +214,7 @@ if $PATCH --version 2> /dev/null | grep 
   saved_IFS=$IFS; IFS='.'
   set -- $patch_version
   IFS=$saved_IFS
-  set -- `echo $1 | tr -cd 0-9` `echo $2 | tr -cd 0-9`
+  set -- `echo $1 | $TR -cd 0-9` `echo $2 | $TR -cd 0-9`
   if test 0$1 -lt 2 || test 0$1 -eq 2 -a 0$2 -lt 4 ; then
     patch_version=
   fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]