summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/MAKEDEV2
-rw-r--r--etc/etc.alpha/MAKEDEV2
-rw-r--r--etc/etc.i386/MAKEDEV2
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
OpenPOWER on IntegriCloud