#!/bin/rc

current = $1

while (sleep 5){
	while (! test -e block.$current){
#		echo waiting for block $current
		sleep 5
	}
	while (! test -e block.$current.sig){
#		echo waiting for block $current sig
		sleep 5
	}
#	echo block.$current.sig  exists proceeding
	compmake block.$current
	current = `{echo $current +2 |hoc}
}
