#!/bin/rc
-. defs
+. ./defs
while()
{
$i=notdone
if(~ $$i done) {
export $i
- $i checkdone
+ ./$i checkdone
$i=`{grep '^'$i^'=' /tmp/vars | sed -n '$p' | sed 's/.*=//'}
}
case yes
$i=ready
export $i
- $i checkready
+ ./$i checkready
$i=`{grep '^'$i^'=' /tmp/vars | sed -n '$p' | sed 's/.*=//'}
case no
$i=notdone
echo
echo $div
-$rd go
+./$rd go
$rd=done # if it's not, the check will figure that out
export $rd
}