eobuilder: put the script version in the debian version, to force rebuild when the script is updated

This commit is contained in:
Benjamin Dauvergne 2013-09-18 22:12:06 +02:00
parent c137c48728
commit 49ae02f50b
1 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ GIT_REPOSITORY_URL="git+ssh://git@repos.entrouvert.org"
DEBIAN_VERSIONS="wheezy=70 squeeze=60 lenny=50"
DISTS=""
ARCHS="amd64"
EOBUILDER_VERSION=2
show_help()
{
@ -167,7 +168,7 @@ for DIST in $DISTS; do
fi
fi
PACKAGE_VERSION="$PROJECT_VERSION-$DEBIAN_FIRST_INC"
PACKAGE_VERSION="$PROJECT_VERSION-builder${EOBUILDER_VERSION}-$DEBIAN_FIRST_INC"
for debian_version in $DEBIAN_VERSIONS; do
set -- `echo $debian_version | tr '=' ' '`