#!/bin/csh

if ( ! $?FS ) setenv FS /lfs

cd $FS/src
@ i = 0
date +%s > /var/tmp/log.$$
df -k $FS >> /var/tmp/log.$$
while(1)
        ./build.sh -D $FS/dest.i386 -R $FS/rel.i386 | sed -e "s,^,$i ==> ,"
        @ i = $i + 1
        date +%s >> /var/tmp/log.$$
        df -k $FS >> /var/tmp/log.$$
end
