git: 9front

Download patch

ref: 1a4ade1fb2c4cdcb5feae7c6025369f6520d08e1
parent: 0c8eb5dbc13f660cd02da2ef92e5ae54eb26a26d
author: ppatience0 <ppatience0@gmail.com>
date: Sun Apr 28 14:34:47 EDT 2013

bootrc: fix spacing when asking for fs/auth ip

--- a/sys/src/9/boot/bootrc
+++ b/sys/src/9/boot/bootrc
@@ -42,7 +42,7 @@
 	echo -n $1
 	echo -n $2
 	if(! ~ $#3 0){
-		echo -n ' ['
+		echo -n '['
 		echo -n $3
 		echo -n '] '
 	}
--- a/sys/src/9/boot/net.rc
+++ b/sys/src/9/boot/net.rc
@@ -7,9 +7,9 @@
 	if(~ $#auth 0)
 		auth=`{awk -F'=' '/auth=/{print $2; exit}' /net/ndb}
 	if(~ $#fs 0)
-		ask fs ' ip is?' $auth
+		ask fs ' ip is? ' $auth
 	if(~ $#auth 0)
-		ask auth ' ip is?' $fs
+		ask auth ' ip is? ' $fs
 }
 
 fn connecttcp{
--