Commit Scott's changes to the bad144 stuff - bad144 takes a list of bad

blocks as *multiple* arguments, not one argument (as was incorrectly being
passed).
This commit is contained in:
Jordan K. Hubbard 1994-06-28 05:56:13 +00:00
parent 97e31cd74c
commit 4d7351f7d4
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
# cd install floppy disk /install script
#
# $Id: cdinst1.install,v 1.3 1994/05/03 10:11:47 rgrimes Exp $
# $Id: cdinst1.install,v 1.4 1994/06/20 06:05:15 jkh Exp $
# ${OPSYSTEM}, the mounting of the cdrom drive, and the path are all
# setup by .profile
@ -864,7 +864,7 @@ if [ "$sect_fwd" = "sf:" ]; then
bad_read=$(expr "$data" : '[^(]*(read)[^0-9]*\([0-9]*\)')
[ "$bad_seek" -o "$bad_read" ] && echo -n "$bad_seek $bad_read "
done)
[ "$badlist" ] && bad144 -a -c $drivename "$badlist"
[ "$badlist" ] && bad144 -a -c $drivename $badlist
echo " done."
fi

View File

@ -882,7 +882,7 @@ if [ "$sect_fwd" = "sf:" ]; then
bad_read=$(expr "$data" : '[^(]*(read)[^0-9]*\([0-9]*\)')
[ "$bad_seek" -o "$bad_read" ] && echo -n "$bad_seek $bad_read "
done)
[ "$badlist" ] && bad144 -a -c $drivename "$badlist"
[ "$badlist" ] && bad144 -a -c $drivename $badlist
echo " done."
fi