]> Zhao Yanbai Git Server - minix.git/commitdiff
autopart return stuff fix
authorBen Gras <ben@minix3.org>
Wed, 31 Aug 2005 16:46:24 +0000 (16:46 +0000)
committerBen Gras <ben@minix3.org>
Wed, 31 Aug 2005 16:46:24 +0000 (16:46 +0000)
commands/scripts/setup.sh

index 80fc7d3c9b1de5481985b19c9889fdec6d87f5d9..6f5962ffbc2bc81b29b3c1e4267e28d38801fe2b 100755 (executable)
@@ -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"