remove dashes in autoconf versions

This commit is contained in:
Benjamin Dauvergne 2013-09-27 16:08:56 +02:00
parent d7efaa3b1c
commit 97b707b162
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ GIT_REPOSITORY_URL="git+ssh://git@repos.entrouvert.org"
DEBIAN_VERSIONS="wheezy=70 squeeze=60 lenny=50"
DISTS=""
ARCHS="amd64"
EOBUILDER_VERSION=3
EOBUILDER_VERSION=4
show_help()
{
@ -135,7 +135,7 @@ elif [ -f "configure.ac" ]; then
./autogen.sh
make all
PROJECT_NAME=`./configure --version | head -n1 | sed 's/ configure.*//'`
PROJECT_VERSION=`./configure --version | head -n1 | sed 's/.* configure //'`
PROJECT_VERSION=`./configure --version | head -n1 | sed 's/.* configure //;s/-/./g'`
PROJECT_FULL_NAME=$PROJECT_NAME
else
echo Unsupported project type