summaryrefslogtreecommitdiffstats
path: root/version.sh
blob: cf0ea68588b7a609d02e31ac968d23c4ed61e6f0 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

if [ "x$1" = "xLIBTOOL" ]; then
    grep -m 1 libcarddav ChangeLog | awk '{print $2}' | \
    cut -c2-4 | sed 's/\./:/g'
else
    grep -m 1 libcarddav ChangeLog | awk '{print $2}' | cut -c2-6
fi

exit 0