shithub: riscv

Download patch

ref: 7c02d9bc6a832a39293d947d0d8706f36aaaf6e5
parent: c2b524d82fb4fdc0d7614f9958354a9a8f7cf8ef
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Thu Jun 9 01:43:46 EDT 2011

dist/mkfile: run binds in subshell

--- a/sys/lib/dist/mkfile
+++ b/sys/lib/dist/mkfile
@@ -2,10 +2,10 @@
 	
 
 %.iso: pc/plan9.ini.cd
-	bind usr /n/src9/usr
-	bind /n/src9 /n/src9/dist/plan9front
-	bind pc/plan9.ini.cd /n/src9/cfg/plan9.ini
-	disk/mk9660 -c9j -B 386/9bootiso -p /n/src9/sys/lib/sysconfig/proto/cdproto -s /n/src9 -v 'Plan 9 Front' $target
-	unmount /n/src9/cfg/plan9.ini
-	unmount /n/src9/dist/plan9front
-	unmount /n/src9/usr
+	@{	rfork n
+		bind usr /n/src9/usr
+		bind /n/src9 /n/src9/dist/plan9front
+		bind pc/plan9.ini.cd /n/src9/cfg/plan9.ini
+		disk/mk9660 -c9j -B 386/9bootiso -p /n/src9/sys/lib/sysconfig/proto/cdproto \
+			-s /n/src9 -v 'Plan 9 Front' $target
+	}
--