You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcarddav/version.sh

11 lines
214 B

#!/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