mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-01 14:55:12 +00:00
Strip off the beta or release candidate version when building AIX
packages.
This commit is contained in:
2
sudo.pp
2
sudo.pp
@@ -19,7 +19,7 @@ still allow people to get their work done."
|
|||||||
summary="Configurable super-user privileges"
|
summary="Configurable super-user privileges"
|
||||||
|
|
||||||
# Convert to 4 part version for AIX, including patch level
|
# Convert to 4 part version for AIX, including patch level
|
||||||
pp_aix_version=`echo $version|sed -e 's/\([0-9]*\.[0-9]*\.[0-9]*\)$/\1.0/' -e 's/[^0-9]*\([0-9]*\)$/.\1/'`
|
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/'`
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if [kit]
|
%if [kit]
|
||||||
|
Reference in New Issue
Block a user