git: 9front

Download patch

ref: bdcf2a2f5fb2ef0ccda329d0f3f8338fb5009e9c
parent: 6ab013aecd22afbf82a83fec02efc670d7afce36
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
+	}
--