summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-14 14:16:09 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-14 14:16:09 (GMT)
commitd146cb35726c8294e8804f132a97e70c10ec2cf5 (patch)
treeacaf37d746f53b2ac86bc2dec2cd3e6f33e2d63b
parent11a82f2ab78a11a801155433eec43ff39b401db4 (diff)
downloadlibkolabxml-d146cb35726c8294e8804f132a97e70c10ec2cf5.tar.gz
Apparently it is 'patch', not 'teeny'
-rwxr-xr-xautogen.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 74415ab..b504382 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -41,12 +41,12 @@ fi
version_major=`grep -E "^set \(Libkolabxml_VERSION_MAJOR [0-9]+\)" CMakeLists.txt | sed -r -e 's/^set \(Libkolabxml_VERSION_MAJOR ([0-9]+)\)/\1/g'`
version_minor=`grep -E "^set \(Libkolabxml_VERSION_MINOR [0-9]+\)" CMakeLists.txt | sed -r -e 's/^set \(Libkolabxml_VERSION_MINOR ([0-9]+)\)/\1/g'`
-version_teeny=`grep -E "^set \(Libkolabxml_VERSION_TEENY [0-9]+\)" CMakeLists.txt | sed -r -e 's/^set \(Libkolabxml_VERSION_TEENY ([0-9]+)\)/\1/g'`
+version_patch=`grep -E "^set \(Libkolabxml_VERSION_PATCH [0-9]+\)" CMakeLists.txt | sed -r -e 's/^set \(Libkolabxml_VERSION_PATCH ([0-9]+)\)/\1/g'`
-if [ -z "${version_teeny}" ]; then
+if [ -z "${version_patch}" ]; then
version="${version_major}.${version_minor}"
else
- version="${version_major}.${version_minor}.${version_teeny}"
+ version="${version_major}.${version_minor}.${version_patch}"
fi
# Rebuilds the entire foo in one go. One shot, one kill.