Coda File System

Re: bashism in rpc2

From: Greg Troxel <gdt_at_ir.bbn.com>
Date: Wed, 11 Apr 2007 16:09:27 -0400
  > Index: secure/gen_testvectors.sh
  > ===================================================================
  > RCS file: /coda-src/rpc2/secure/gen_testvectors.sh,v
  > retrieving revision 1.1
  > diff -u -p -r1.1 gen_testvectors.sh
  > --- secure/gen_testvectors.sh	23 Mar 2006 19:30:54 -0000	1.1
  > +++ secure/gen_testvectors.sh	11 Apr 2007 18:04:48 -0000
  > @@ -48,7 +48,7 @@ vectors () {
  >      keysize=0
  >      cat $file | sed 's/\r//' | while read key value
  >      do
  > -	if [ "$key" == KEYSIZE -a "$value" != "$keysize" ] ; then
  > +	if [ "$key" = KEYSIZE -a "$value" != "$keysize" ] ; then
  >  	    I=0
  >  	    keysize="$value"

  Hmm, I guess since everything is already tagged and the sources are on
  ftp.coda this will have to wait in the next release, which hopefully
  will be a bit faster. There are some remaining problems when I tried to
  enable the lua functionality in the rpm build as well.

That's fine.  I don't think that gets run during the build, but pkgsrc
blew up at it because it looks for such bugs in all scripts before
starting.  I've added the patch to the package, so please just apply to
cvs and next release i'll drop the pkgsrc patch.
Received on 2007-04-11 16:11:17