shithub: riscv

Download patch

ref: e1e174fecdf36b0e96cbeae462a8b8c5eebed7fe
parent: 3dc150e478469c5da627d886e95a7f57d461d827
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