summaryrefslogtreecommitdiff
path: root/setver
diff options
context:
space:
mode:
Diffstat (limited to 'setver')
-rwxr-xr-xsetver13
1 files changed, 7 insertions, 6 deletions
diff --git a/setver b/setver
index 1e127a4..f2137f3 100755
--- a/setver
+++ b/setver
@@ -6,7 +6,7 @@
# [doinc?] is 'n'.
# if [doinc?] is 'r', reverse increment (decrement).
#
-ver=2.9.4
+ver=2.9.5
rel=1
tmped=/tmp/edver.tmp
tmpspec=/tmp/edspec.tmp
@@ -59,10 +59,11 @@ AM_INIT_AUTOMAKE(ipmiutil,$ver)
w
q
%%%
-if [ -f configure.in ]; then
- ed configure.in <$tmped
+if [ -f configure.ac ]; then
+ sed -i "/AC_INIT(ipmiutil,/cAC_INIT(ipmiutil,$ver)" configure.ac
+ # sed -i "/INIT_AUTOMAKE(ipmiutil/cAM_INIT_AUTOMAKE(ipmiutil,$ver)" configure.ac
else
- sed -i "/INIT_AUTOMAKE(ipmiutil/cAM_INIT_AUTOMAKE(ipmiutil,$ver)" configure.ac
+ ed configure.in <$tmped
fi
cat - <<%%% >$tmped
@@ -178,7 +179,7 @@ q
ed ../../ipmimisc/buildmisc.sh <$tmped
fi
-if [ -f debian/changelog ]; then
+if [ -f debpkg/changelog ]; then
rdate=`date -R`
cat - <<%%% >$tmped
1
@@ -193,7 +194,7 @@ ipmiutil (${ver}-${rel}) unstable; urgency=low
w
q
%%%
- ed debian/changelog <$tmped
+ ed debpkg/changelog <$tmped
fi
cmdc="ialarms.c icmd.c iconfig.c ievents.c ifru.c igetevent.c ihealth.c