diff options
author | brian <brian@FreeBSD.org> | 1999-10-15 16:20:58 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-10-15 16:20:58 +0000 |
commit | 99455ff0f7319d665313ec3f969a1f2163778d7c (patch) | |
tree | c4c51f3b27501c739096c8a60780531e5f0ccb38 | |
parent | 8877cb626e29c766f8ed11807d47872eba475340 (diff) | |
download | FreeBSD-src-99455ff0f7319d665313ec3f969a1f2163778d7c.zip FreeBSD-src-99455ff0f7319d665313ec3f969a1f2163778d7c.tar.gz |
Fix ``MAKEDEV acd''
Spotted by: Mark Knight <mkn@FreeBSD.org.uk>
-rw-r--r-- | etc/MAKEDEV | 2 | ||||
-rw-r--r-- | etc/etc.alpha/MAKEDEV | 2 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 27e54ba..2fcc441 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -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 diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV index 24b23ca..c5010e3 100644 --- a/etc/etc.alpha/MAKEDEV +++ b/etc/etc.alpha/MAKEDEV @@ -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 diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 27e54ba..2fcc441 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -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 |