From cf5e8d9b7748f7aca199450061c6f493afb4b094 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 12 Apr 2011 11:50:20 -0400 Subject: [PATCH] Fix aix version setting. --- sudo.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudo.pp b/sudo.pp index eba688478..c712a15b1 100644 --- a/sudo.pp +++ b/sudo.pp @@ -19,7 +19,7 @@ still allow people to get their work done." summary="Configurable super-user privileges" # Convert to 4 part version for AIX, including patch level - pp_aix_version=`echo $version|sed -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)p\([0-9]*\)$/\1.\2/' -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)[^0-9\.].*$/\1.0/'` + pp_aix_version=`echo $version|sed -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)p\([0-9]*\)$/\1.\2/' -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)[^0-9\.].*$/\1/' -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)$/\1.0/'` %endif %if [kit]