~ubuntu-branches/ubuntu/vivid/debtags/vivid

« back to all changes in this revision

Viewing changes to debian/vercheck

  • Committer: Package Import Robot
  • Author(s): Enrico Zini, Michael Vogt, Enrico Zini
  • Date: 2013-10-25 12:41:25 UTC
  • Revision ID: package-import@ubuntu.com-20131025124125-ytl4xarlmdyiuzjb
Tags: 1.12
[ Michael Vogt ]
* Install files in python3-debtagshw

[ Enrico Zini ]
* Build with new wibble

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
VERSION_AUTOTOOLS=$(grep ^AC_INIT configure.ac | sed -r 's/[^[]+\[([^]]+)\].+/\1/')
 
3
VERSION_DEB=`head -n 1 debian/changelog  | sed -re 's/.+\(([^)]+).+/\1/'`
 
4
VERSION="$VERSION_AUTOTOOLS"
 
5
 
 
6
if [ "$VERSION_AUTOTOOLS" != "$VERSION_DEB" ]
 
7
then
 
8
        echo "Version mismatch between autotools ($VERSION_AUTOTOOLS) and debian/changelog ($VERSION_DEB)" >&2
 
9
        exit 1
 
10
fi
 
11
 
 
12
exit 0