eobuilder: count commits from origin/debian branch not the local debian branch

This commit is contained in:
Benjamin Dauvergne 2013-09-18 22:36:12 +02:00
parent e3b1d49a70
commit 42e9887c1c
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ for DIST in $DISTS; do
DEBIAN_SECOND_INC=1
fi
fi
DEBIAN_SECOND_INC=`git rev-list --count master..${DEBIAN_BRANCH}`
DEBIAN_SECOND_INC=`git rev-list --count origin/master..origin/${DEBIAN_BRANCH}`
PACKAGE_VERSION="$PROJECT_VERSION-builder${EOBUILDER_VERSION}-$DEBIAN_FIRST_INC"