summaryrefslogtreecommitdiff
path: root/setver
diff options
context:
space:
mode:
Diffstat (limited to 'setver')
-rwxr-xr-xsetver8
1 files changed, 4 insertions, 4 deletions
diff --git a/setver b/setver
index 7f69a0a..470f206 100755
--- a/setver
+++ b/setver
@@ -6,16 +6,13 @@
# [doinc?] is 'n'.
# if [doinc?] is 'r', reverse increment (decrement).
#
-ver=3.0.0
+ver=3.0.1
rel=1
tmped=/tmp/edver.tmp
tmpspec=/tmp/edspec.tmp
cmdf=/tmp/cmd.tmp
skipinc=0
reverseinc=0
-v12=`echo $ver |cut -f1,2 -d'.'`
-v3=`echo $ver |cut -f3 -d'.'`
-vras=`echo $ver |sed -e 's/\.//g'`
if [ $# -gt 0 ]
then
@@ -35,6 +32,9 @@ then
fi
fi
fi
+v12=`echo $ver |cut -f1,2 -d'.'`
+v3=`echo $ver |cut -f3 -d'.'`
+vras=`echo $ver |sed -e 's/\.//g'`
distro=`echo $MACHTYPE |cut -d'-' -f2`
if [ "$distro" = "suse" ]