Full Article Attached Independent Status Reports Return!

Wednesday January 16th, 2002

David Boswell is back with an update on what's new with some of the projects, along with other independent efforts. Click the Full Article link to check them out.

#8 Re: Damn! I knew it.

by sconest

Thursday January 17th, 2002 8:01 AM

You are replying to this message

Here's mine:

It's a quick and (very) dirty script, I'm sure it will not work out-of-the-box on another machine but it's ok for me.

--- cut below here --- #!/bin/bash


todlfile=`wget --spider <…-i686-pc-linux-gnu.tar.gz> 2>&1 | grep Length | cut -c 9- | cut -f1 -d[ | sed s/,//g ` if test $todlfile ; then if test -e $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu.tar.gz; then currentfile=`ls -l $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu.tar.gz | cut -f16 -d" "` if test $currentfile -eq $todlfile; then echo "No new build" exit fi rm $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu-5.tar.gz mv $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu-4.tar.gz $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu-5.tar.gz mv $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu-3.tar.gz $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu-4.tar.gz mv $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu-2.tar.gz $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu-3.tar.gz mv $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu-1.tar.gz $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu-2.tar.gz mv $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu.tar.gz $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu-1.tar.gz fi wget -P $MOZ_BUILD_LOCAL_DIR <…-i686-pc-linux-gnu.tar.gz> tar -xvzC ~/local -f $MOZ_BUILD_LOCAL_DIR/mozilla-i686-pc-linux-gnu.tar.gz else echo No build available fi --- cut above here ---

Did I mention this is a very dirty script and that you use this at your own risk ?