~ubuntu-branches/ubuntu/oneiric/synaptic/oneiric

« back to all changes in this revision

Viewing changes to pre-build.sh

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2010-11-10 19:44:31 UTC
  • mfrom: (3.2.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101110194431-i4810q8drta06cao
Tags: 0.70~pre2ubuntu1

* merged from debian/unstable, remaining changes:
  - ubuntu icons for supported applications
  - launchpad-integration
  - ubuntu changelog download support
  - support section metapackages
  - x-ubuntu-gettext-domain in desktop file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
autoreconf -i
 
4
 
 
5
DEBVER=$(dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
 
6
CONFVER=$(sed -n -e 's/AM_INIT_AUTOMAKE(synaptic, \(.*\))/\1/p' configure.in)
 
7
if [ "$DEBVER" != "$CONFVER" ]; then
 
8
        sed -i -e "s/$CONFVER/$DEBVER/" configure.in
 
9
fi