]> git.lizzy.rs Git - plan9front.git/blobdiff - rc/bin/inst/main
/lib/rob: Just write the code.
[plan9front.git] / rc / bin / inst / main
index bee680ebfe4cb0a152e6072ccaf797a6ba46e0c8..4a3eb8bf869233c6e04c6d47dc3271295a27b220 100755 (executable)
@@ -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
 }