mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 13:26:36 +00:00
git-update.sh: use autogen.sh instead of autoregen.sh on fresh repositories.
Fixes #613593.
This commit is contained in:
parent
e3efae65bc
commit
4119945349
1 changed files with 13 additions and 1 deletions
|
@ -63,7 +63,7 @@ build()
|
||||||
{
|
{
|
||||||
if test -d $1; then
|
if test -d $1; then
|
||||||
cd $1
|
cd $1
|
||||||
if test ! -e Makefile
|
if test ! -e Makefile -a -e autoregen.sh
|
||||||
then
|
then
|
||||||
echo "+ $1: autoregen.sh"
|
echo "+ $1: autoregen.sh"
|
||||||
./autoregen.sh > "$tmp/$1-regen.log" 2>&1
|
./autoregen.sh > "$tmp/$1-regen.log" 2>&1
|
||||||
|
@ -75,6 +75,18 @@ build()
|
||||||
fi
|
fi
|
||||||
echo "+ $1: autoregen.sh done"
|
echo "+ $1: autoregen.sh done"
|
||||||
fi
|
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
|
||||||
|
|
||||||
echo "+ $1: make"
|
echo "+ $1: make"
|
||||||
make > "$tmp/$1-make.log" 2>&1
|
make > "$tmp/$1-make.log" 2>&1
|
||||||
|
|
Loading…
Reference in a new issue