summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e3efae6)
raw | patch | inline | side by side (parent: e3efae6)
author | André Dieb Martins <andre.dieb@gmail.com> | |
Mon, 22 Mar 2010 14:06:21 +0000 (11:06 -0300) | ||
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Mon, 22 Mar 2010 15:45:57 +0000 (15:45 +0000) |
Fixes #613593.
scripts/git-update.sh | patch | blob | history |
diff --git a/scripts/git-update.sh b/scripts/git-update.sh
index 6bfae3459d774b3512b2b143f84f19fde95a8304..bb028d6ae32841ffad20ecee956f936564106144 100755 (executable)
--- a/scripts/git-update.sh
+++ b/scripts/git-update.sh
{
if test -d $1; then
cd $1
- if test ! -e Makefile
+ if test ! -e Makefile -a -e autoregen.sh
then
echo "+ $1: autoregen.sh"
./autoregen.sh > "$tmp/$1-regen.log" 2>&1
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
echo "+ $1: make"
make > "$tmp/$1-make.log" 2>&1