55 |
HAVE_MPACK=f |
HAVE_MPACK=f |
56 |
fi |
fi |
57 |
echo -n "building mpack... " |
echo -n "building mpack... " |
58 |
( cd $MPACKDIR && ./configure && $MAKE ) > build_mpack.out 2>&1 |
( cd $MPACKDIR && ./configure && $MAKE ) > tr_build_mpack.out 2>&1 |
59 |
RETVAL=$? |
RETVAL=$? |
60 |
if test "x$RETVAL" != x0 ; then |
if test "x$RETVAL" != x0 ; then |
61 |
echo |
echo |
63 |
echo |
echo |
64 |
HAVE_MPACK=f |
HAVE_MPACK=f |
65 |
else |
else |
66 |
|
rm -f tr_build_mpack.out |
67 |
HAVE_MPACK=t |
HAVE_MPACK=t |
68 |
fi |
fi |
69 |
else |
else |
631 |
MACH=`hostname` |
MACH=`hostname` |
632 |
UNAMEA=`uname -a` |
UNAMEA=`uname -a` |
633 |
DATE=`date +%Y%m%d` |
DATE=`date +%Y%m%d` |
634 |
BASE=$MACH"_"$DATE"_" |
BASE="tr_"$MACH"_"$DATE"_" |
635 |
DNUM=0 |
DNUM=0 |
636 |
DRESULTS="$BASE$DNUM" |
DRESULTS="$BASE$DNUM" |
637 |
while test -e $DRESULTS ; do |
while test -e $DRESULTS ; do |
858 |
|
|
859 |
if test "x$CLEANUP" != xt ; then |
if test "x$CLEANUP" != xt ; then |
860 |
cat $SUMMARY |
cat $SUMMARY |
861 |
if test -e tr.out ; then |
if test -e tr_out.txt ; then |
862 |
mv tr.out tr.out.old |
mv tr_out.txt tr_out.txt.old |
863 |
fi |
fi |
864 |
cat $SUMMARY > tr.out |
cat $SUMMARY > tr_out.txt |
865 |
fi |
fi |
866 |
|
|