Re: release build breaks in src/release/scripts/split-file.sh

From: Ken Smith <kensmith_at_cse.Buffalo.EDU>
Date: Thu, 9 Sep 2004 07:56:40 -0400
On Thu, Sep 09, 2004 at 11:36:42AM +0300, Ruslan Ermilov wrote:

> Yes.  This has been fixed in HEAD on August 26.
> 
> re_at_, should I MFC this into RELENG_5?
> 
> %%%
> Index: Makefile
> ===================================================================
> RCS file: /home/ncvs/src/release/Makefile,v
> retrieving revision 1.853.2.1
> diff -u -r1.853.2.1 Makefile
> --- Makefile	29 Aug 2004 05:37:20 -0000	1.853.2.1
> +++ Makefile	9 Sep 2004 08:22:07 -0000
> _at__at_ -1081,7 +1081,7 _at__at_
>  	    ${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 \
> Index: scripts/split-file.sh
> ===================================================================
> RCS file: /home/ncvs/src/release/scripts/split-file.sh,v
> retrieving revision 1.1
> diff -u -r1.1 split-file.sh
> --- scripts/split-file.sh	26 Jan 2004 19:45:09 -0000	1.1
> +++ scripts/split-file.sh	9 Sep 2004 08:22:14 -0000
> _at__at_ -35,5 +35,5 _at__at_
>  i=1
>  for file in ${files}; do
>  	echo `basename ${file}` "\"${DESCR} floppy ${i}\"" >> ${DEST}/${prefix}.split
> -	i=$((i + 1))
> +	i=$(($i + 1))
>  done
> %%%

Yes please.  Thanks.

-- 
						Ken Smith
- From there to here, from here to      |       kensmith_at_cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |
Received on Thu Sep 09 2004 - 09:56:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:11 UTC