Fix ``MAKEDEV acd''

Spotted by: Mark Knight <mkn@FreeBSD.org.uk>
This commit is contained in:
brian 1999-10-15 16:20:58 +00:00
parent 668aa5abdd
commit c4373c3df9
3 changed files with 3 additions and 3 deletions

View File

@ -724,7 +724,7 @@ acd*|cd*|mcd*|scd*)
mcd*) units=`expr $i : '...\(.*\)'`; name=mcd; blk=7; chr=29;;
scd*) units=`expr $i : '...\(.*\)'`; name=scd; blk=16; chr=45;;
esac
if [ -z "${units}" -o ${units} -le 0 ]; then
if [ -z "${units}" -o "${units}" -le 0 ]; then
units=1
fi
if [ "${units}" -le 31 ]; then

View File

@ -694,7 +694,7 @@ acd*|cd*|mcd*|scd*)
mcd*) units=`expr $i : '...\(.*\)'`; name=mcd; blk=7; chr=29;;
scd*) units=`expr $i : '...\(.*\)'`; name=scd; blk=16; chr=45;;
esac
if [ -z "${units}" -o ${units} -le 0 ]; then
if [ -z "${units}" -o "${units}" -le 0 ]; then
units=1
fi
if [ "${units}" -le 31 ]; then

View File

@ -724,7 +724,7 @@ acd*|cd*|mcd*|scd*)
mcd*) units=`expr $i : '...\(.*\)'`; name=mcd; blk=7; chr=29;;
scd*) units=`expr $i : '...\(.*\)'`; name=scd; blk=16; chr=45;;
esac
if [ -z "${units}" -o ${units} -le 0 ]; then
if [ -z "${units}" -o "${units}" -le 0 ]; then
units=1
fi
if [ "${units}" -le 31 ]; then