diff options
author | ru <ru@FreeBSD.org> | 2004-08-26 19:15:20 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-08-26 19:15:20 +0000 |
commit | c38b89315416a29b52c0d3eca8b14f714a667af8 (patch) | |
tree | 1d310a2bfa1d5a971911ed7891d28d46400cb448 /release/Makefile | |
parent | c246d1f1a9eb9335d7a81b5cec20b8faef9d80c2 (diff) | |
download | FreeBSD-src-c38b89315416a29b52c0d3eca8b14f714a667af8.zip FreeBSD-src-c38b89315416a29b52c0d3eca8b14f714a667af8.tar.gz |
Fixed the shell arithmetic to work with 4.x /bin/sh.
Tested by: make release of HEAD on 4.10-STABLE
Diffstat (limited to 'release/Makefile')
-rw-r--r-- | release/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile index 0520dc2..6cf0394 100644 --- a/release/Makefile +++ b/release/Makefile @@ -1086,7 +1086,7 @@ makeFloppySet: ${RD}/floppyset/${FLOPPYBASE} ${FLPSPLITSIZE} "${FLOPPYDESC}" ( splitfile=${SPLITDIR}/`basename ${SPLITFILE}`.split ; \ lines=`cat $${splitfile} | wc -l`; \ - lines=$$((lines - 1)) ; \ + lines=$$(($$lines - 1)) ; \ for line in `jot $$lines`; do \ file=`head -n $$(($${line} + 1)) $${splitfile} | tail -1 | cut -f 1 -d ' '` ; \ sh -e ${DOFS_SH} ${RD}/floppies/${FLOPPYBASE}$${line}.flp \ |