diff options
Diffstat (limited to 'rc/bin/inst/main')
-rwxr-xr-x | rc/bin/inst/main | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rc/bin/inst/main b/rc/bin/inst/main index bee680ebf..4a3eb8bf8 100755 --- a/rc/bin/inst/main +++ b/rc/bin/inst/main @@ -1,6 +1,6 @@ #!/bin/rc -. defs +. ./defs while() { @@ -57,7 +57,7 @@ for(i in $tasks) { $i=notdone if(~ $$i done) { export $i - $i checkdone + ./$i checkdone $i=`{grep '^'$i^'=' /tmp/vars | sed -n '$p' | sed 's/.*=//'} } @@ -70,7 +70,7 @@ for(i in $tasks) { case yes $i=ready export $i - $i checkready + ./$i checkready $i=`{grep '^'$i^'=' /tmp/vars | sed -n '$p' | sed 's/.*=//'} case no $i=notdone @@ -108,7 +108,7 @@ prompt -d $ready(1) -w '' 'Task to do' $done $ready echo echo $div -$rd go +./$rd go $rd=done # if it's not, the check will figure that out export $rd } |