Set status.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18500 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -201,15 +201,19 @@ echo "Configuring and building ($hversion)"
|
|||||||
./configure --enable-socket-wrapper ${confflags} > ab.txt 2>&1
|
./configure --enable-socket-wrapper ${confflags} > ab.txt 2>&1
|
||||||
if [ $? != 0 ] ; then
|
if [ $? != 0 ] ; then
|
||||||
echo Configure failed
|
echo Configure failed
|
||||||
|
status=${status:-configure}
|
||||||
fi
|
fi
|
||||||
make all >> ab.txt 2>&1
|
make all >> ab.txt 2>&1
|
||||||
if [ $? != 0 ] ; then
|
if [ $? != 0 ] ; then
|
||||||
echo Make all failed
|
echo Make all failed
|
||||||
|
status=${status:-make all}
|
||||||
fi
|
fi
|
||||||
make check >> ab.txt 2>&1
|
make check >> ab.txt 2>&1
|
||||||
if [ $? != 0 ] ; then
|
if [ $? != 0 ] ; then
|
||||||
echo Make check failed
|
echo Make check failed
|
||||||
|
status=${status:-make check}
|
||||||
fi
|
fi
|
||||||
|
status=${status:-ok}
|
||||||
|
|
||||||
if [ "X${resultdir}" != X ] ; then
|
if [ "X${resultdir}" != X ] ; then
|
||||||
cp ab.txt "${resultdir}/ab-${hversion}-${hostname}-${date}.txt"
|
cp ab.txt "${resultdir}/ab-${hversion}-${hostname}-${date}.txt"
|
||||||
@@ -224,6 +228,7 @@ X-heimdal-build: kaka-till-love
|
|||||||
|
|
||||||
Version: $version
|
Version: $version
|
||||||
Machine: `uname -a`
|
Machine: `uname -a`
|
||||||
|
Status: $status
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [ "X$passhrase" != X ] ; then
|
if [ "X$passhrase" != X ] ; then
|
||||||
|
Reference in New Issue
Block a user