git: 9front

Download patch

ref: a542e25da704455c6ac9397e4dbc94d4ab7e17d9
parent: bdfef46e6b507becf74022ef74ea23b0ce5b983b
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Thu Jun 9 17:14:14 EDT 2011

fix mistake

--- a/rc/bin/inst/bootsetup
+++ b/rc/bin/inst/bootsetup
@@ -29,7 +29,7 @@
 	prompt $default 'Plan 9 FAT partition' $fats
 	9fat=$rd
 	export 9fat
-	
+
 	if(! test -f /tmp/plan9.ini) {
 		if(~ $syst cpu)
 			bootfile=9pccpuf
@@ -85,8 +85,10 @@
 	oldbootsetup=$didbootsetup
 	didbootsetup=1
 	export didbootsetup
+
 	prompt 'Enable boot method' plan9 winnt
-	
+
+	disk=`{basename -d $9fat}
 	if(! boot$rd){
 		didbootsetup=$oldbootsetup
 		export didbootsetup
--