mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
git-update: Fix and restructure logic
This commit is contained in:
parent
3b4aa3f76a
commit
fe7d80580c
1 changed files with 21 additions and 20 deletions
|
@ -63,29 +63,30 @@ build()
|
||||||
{
|
{
|
||||||
if test -d $1; then
|
if test -d $1; then
|
||||||
cd $1
|
cd $1
|
||||||
if test ! -e Makefile -a -e autoregen.sh
|
if test ! -e Makefile
|
||||||
then
|
then
|
||||||
echo "+ $1: autoregen.sh"
|
if test -e autoregen.sh
|
||||||
./autoregen.sh > "$tmp/$1-regen.log" 2>&1
|
|
||||||
if test $? -ne 0
|
|
||||||
then
|
then
|
||||||
echo "$1: autoregen.sh [$tmp/$1-regen.log]" >> $ERROR_LOG
|
echo "+ $1: autoregen.sh"
|
||||||
cd ..
|
./autoregen.sh > "$tmp/$1-regen.log" 2>&1
|
||||||
return $ERROR_RETURN
|
if test $? -ne 0
|
||||||
|
then
|
||||||
|
echo "$1: autoregen.sh [$tmp/$1-regen.log]" >> $ERROR_LOG
|
||||||
|
cd ..
|
||||||
|
return $ERROR_RETURN
|
||||||
|
fi
|
||||||
|
echo "+ $1: autoregen.sh done"
|
||||||
|
else
|
||||||
|
echo "+ $1: autogen.sh"
|
||||||
|
./autogen.sh > "$tmp/$1-gen.log" 2>&1
|
||||||
|
if test $? -ne 0
|
||||||
|
then
|
||||||
|
echo "$1: autogen.sh [$tmp/$1-gen.log]" >> $ERROR_LOG
|
||||||
|
cd ..
|
||||||
|
return $ERROR_RETURN
|
||||||
|
fi
|
||||||
|
echo "+ $1: autogen.sh done"
|
||||||
fi
|
fi
|
||||||
echo "+ $1: autoregen.sh done"
|
|
||||||
fi
|
|
||||||
else if test ! -e Makefile
|
|
||||||
then
|
|
||||||
echo "+ $1: autogen.sh"
|
|
||||||
./autogen.sh > "$tmp/$1-gen.log" 2>&1
|
|
||||||
if test $? -ne 0
|
|
||||||
then
|
|
||||||
echo "$1: autogen.sh [$tmp/$1-gen.log]" >> $ERROR_LOG
|
|
||||||
cd ..
|
|
||||||
return $ERROR_RETURN
|
|
||||||
fi
|
|
||||||
echo "+ $1: autogen.sh done"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "+ $1: make"
|
echo "+ $1: make"
|
||||||
|
|
Loading…
Reference in a new issue