+ echo "+ $1: autoregen.sh"
+ ./autoregen.sh > "$tmp/$1-regen.log" 2>&1
+ 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"