shithub: riscv

Download patch

ref: 781a8f8d9f50221dc34c0dab5baf48e197444269
parent: e60216c2b70095dab043bf5e2473ec79a402d3bc
author: Alex Musolino <alex@musolino.id.au>
date: Wed Nov 25 14:54:52 EST 2020

upas: fix mk nuke

--- a/sys/src/cmd/upas/binscripts/mkfile
+++ b/sys/src/cmd/upas/binscripts/mkfile
@@ -22,7 +22,7 @@
 clean:Q:
 	;
 nuke:V:
-	rm $BIN/^($RCFILES)
+	rm -f $BIN/^($RCFILES)
 
 $BIN/%: %.rc
 	cp $stem.rc $BIN/$stem
--- a/sys/src/cmd/upas/binscripts/mkfile.rc
+++ b/sys/src/cmd/upas/binscripts/mkfile.rc
@@ -19,4 +19,4 @@
 clean:Q:
 	;
 nuke:V:
-	rm /rc/bin/mail
+	rm -f /rc/bin/mail