Gene,

Sorry for this stupid typo, I committed the wrong patch.

Try today's snapshot.

Jean-Louis

Gene Heskett wrote:
Greetings;

I didn't get an email from amverify this morning, having installed amanda-2.5.1p3-20070216 last evening.

From the email genes-amanda-helper sent me:
Verify summary to [EMAIL PROTECTED]
Defects file is /tmp/amanda/amverify.31626/defects
amverify Daily
Sun Feb 18 01:37:37 EST 2007

/usr/local/sbin/amverify: line 383: syntax error near unexpected token `fi'
/usr/local/sbin/amverify: line 383: `           fi'

Starting at line 377 in amverify:
        until eval $DEVICE_READY > $TEMP/ammt.out 2>&1; do
                [ count -lt 0 ] \
                        && report "Device not ready" \
                        && report "`cat $TEMP/ammt.out`" \
                        && report cat $TEMP/ammt.out >> $DEFECTS \
                        && break;
                fi
                sleep 3
                count=`expr $count - 3`
        done

That looks a bit confusing to me.

And it bears no resemblance to the same code snippet in the
20070212 version that starts with:
       until eval $DEVICE_READY >/dev/null 2>&1; do
                sleep 3
        done

Comments? Build error? I used the same script to drive the configure as I've been using a the last few years:
===========
#!/bin/sh
# since I'm always forgetting to su amanda...
if [ `whoami` != 'amanda' ]; then
        echo
        echo "!!!!!!!!!!!! Warning !!!!!!!!!!!!"
        echo "Amanda needs to be configured and built by the user amanda,"
        echo "but must be installed by user root."
        echo
        exit 1
fi
make clean
rm -f config.status config.cache
./configure --with-user=amanda \
        --with-group=disk \
        --with-owner=amanda \
        --with-gnu-ld \
        --prefix=/usr/local \
        --with-tapedev="FILE:/amandatapes" \
        --with-debugging=/tmp/amanda-dbg/ \
        --with-tape-server=coyote \
        --with-bsdtcp-security --with-amandahosts \
        --with-configdir=/usr/local/etc/amanda \
        --with-config=Daily \
        --with-gnutar=/bin/tar

make
========


Reply via email to