From 4462592a15abe78aac66fe7edbf7ed409adb27f5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 16 Feb 2012 16:09:16 -0600 Subject: Initial import --- version.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 version.sh (limited to 'version.sh') diff --git a/version.sh b/version.sh new file mode 100644 index 0000000..5f6c91d --- /dev/null +++ b/version.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ "x$1" = "xLIBTOOL" ]; then + grep -m 1 libcaldav ChangeLog | awk '{print $2}' | \ + cut -c2-4 | sed 's/\./:/g' +else + grep -m 1 libcaldav ChangeLog | awk '{print $2}' | cut -c2-6 +fi + +exit 0 -- cgit v1.2.1