diff options
Diffstat (limited to '')
-rwxr-xr-x | debian/getapi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/getapi b/debian/getapi new file mode 100755 index 0000000..3c1456a --- /dev/null +++ b/debian/getapi @@ -0,0 +1,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 |