git: 9front

Download patch

ref: e934575d76d90d0a1e3bf6c9342e76ef9db4a011
parent: 1293fdbcf959daf51533afa672115f0403185584
author: Noam Preil <noam@pixelhero.dev>
date: Thu Dec 11 21:49:54 EST 2025

mkone: only clean test if it has a mkfile

--- a/sys/src/cmd/mkone
+++ b/sys/src/cmd/mkone
@@ -40,7 +40,7 @@
 	rm -f *.[$OS] [$OS].out y.tab.? lex.yy.c y.debug y.output *.acid $TARG $CLEANFILES
 
 clean:V:
-	test -d ./test && @{cd test && mk $MKFLAGS clean}
+	test -f ./test/mkfile && @{cd test && mk $MKFLAGS clean}
 	rm -f *.[$OS] [$OS].out y.tab.? lex.yy.c y.debug y.output $TARG $CLEANFILES
 
 safeinstall:V: $O.out
--