Run "configure" before checking for differences and releasing
This commit is contained in:
parent
e8367af631
commit
62b43704ef
|
@ -25,6 +25,7 @@ PROJECTCONF="project.conf"
|
||||||
VERBOSE=0
|
VERBOSE=0
|
||||||
VERSION=
|
VERSION=
|
||||||
#executables
|
#executables
|
||||||
|
CONFIGURE="configure"
|
||||||
CVS="cvs"
|
CVS="cvs"
|
||||||
GIT="git"
|
GIT="git"
|
||||||
GREP="grep"
|
GREP="grep"
|
||||||
|
@ -89,6 +90,9 @@ _deforaos_release()
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#run configure again
|
||||||
|
_release_configure
|
||||||
|
|
||||||
_info "Checking for differences..."
|
_info "Checking for differences..."
|
||||||
_release_diff
|
_release_diff
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
@ -141,6 +145,15 @@ _deforaos_release()
|
||||||
_info " * package where appropriate (see deforaos-package.sh)"
|
_info " * package where appropriate (see deforaos-package.sh)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_release_configure()
|
||||||
|
{
|
||||||
|
if [ -f "project.conf" ]; then
|
||||||
|
$DEBUG $CONFIGURE
|
||||||
|
return $?
|
||||||
|
fi
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
_release_diff()
|
_release_diff()
|
||||||
{
|
{
|
||||||
if [ -d "CVS" ]; then
|
if [ -d "CVS" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user