Run "configure" before checking for differences and releasing

This commit is contained in:
Pierre Pronchery 2014-10-09 23:00:51 +02:00
parent e8367af631
commit 62b43704ef

View File

@ -25,6 +25,7 @@ PROJECTCONF="project.conf"
VERBOSE=0
VERSION=
#executables
CONFIGURE="configure"
CVS="cvs"
GIT="git"
GREP="grep"
@ -89,6 +90,9 @@ _deforaos_release()
fi
fi
#run configure again
_release_configure
_info "Checking for differences..."
_release_diff
if [ $? -ne 0 ]; then
@ -141,6 +145,15 @@ _deforaos_release()
_info " * package where appropriate (see deforaos-package.sh)"
}
_release_configure()
{
if [ -f "project.conf" ]; then
$DEBUG $CONFIGURE
return $?
fi
return 0
}
_release_diff()
{
if [ -d "CVS" ]; then