From 0c96b9e85e51d9072126af704c044d492e0b8c5e Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 31 Aug 2005 16:46:24 +0000 Subject: [PATCH] autopart return stuff fix --- commands/scripts/setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 80fc7d3c9..6f5962ffb 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -189,8 +189,9 @@ Please finish the name of the primary partition you have created: if autopart -f$PF then if [ -s "$PF" ] then - bd="`cat $PF`" - cat "$PF" | read bd bdn + set `cat $PF` + bd="$1" + bdn="$2" biosdrivename="Probably, the right command is \"boot $bdn\"." if [ -b "/dev/$bd" ] then primary="$bd" -- 2.44.0