code: plan9front

Download patch

ref: c6a92afc7ac0382d90bf0fbd1d2e3e258a57aad4
parent: fa0f9a4645220576ec910da0c479915caee847a9
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Feb 19 23:22:35 EST 2023

cmd/mkfile: don't recurse into test/ when looping

the test mkfile doesn't support targets like install

--- a/sys/src/cmd/mkfile
+++ b/sys/src/cmd/mkfile
@@ -10,7 +10,7 @@
 
 PCONLY=vmx
 POWERLESS=dtracy  # until someone fixes the build for power
-NOMK=$NOMK `{~ $objtype (386 amd64) || echo $PCONLY} `{~ $objtype power && echo $POWERLESS}
+NOMK=$NOMK test `{~ $objtype (386 amd64) || echo $PCONLY} `{~ $objtype power && echo $POWERLESS}
 DIRS=`{echo */mkfile | sed 's,/mkfile *,\n,g' | grep -v '-e^'^('' $NOMK)^'$'}
 
 usage:VQ: