blob: 3c1456af0eb4e7f977e2321a08a55b1303ec1576 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
CURRENT=$(sed -ne "s/^LIBINTERFACE = //p" lib/$1/api)
REVISION=$(sed -ne "s/^LIBREVISION = //p" lib/$1/api)
AGE=$(sed -ne "s/^LIBAGE = //p" lib/$1/api)
echo $((${CURRENT}-${AGE}))
exit 0
|