diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-08-26 19:15:20 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-08-26 19:15:20 +0000 |
commit | 85231d66d42908d595895b1b3fbf3340211b9cf5 (patch) | |
tree | 1d310a2bfa1d5a971911ed7891d28d46400cb448 /release/Makefile | |
parent | 59506cd39a2858371bd52c002c723228a1e0398f (diff) | |
download | src-85231d66d42908d595895b1b3fbf3340211b9cf5.tar.gz src-85231d66d42908d595895b1b3fbf3340211b9cf5.zip |
Fixed the shell arithmetic to work with 4.x /bin/sh.
Tested by: make release of HEAD on 4.10-STABLE
Notes
Notes:
svn path=/head/; revision=134353
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 0520dc2cdb5d..6cf03946ee11 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 \ |