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.
libcaldav/version.sh

11 lines
212 B

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