Re: [PATCH 07/14] t/lib-git-svn: make hash size independent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-06-20 at 08:02:53, Andreas Schwab wrote:
> On Jun 19 2020, brian m. carlson wrote:
> 
> > diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh
> > index 7d248e6588..4780b45337 100644
> > --- a/t/lib-git-svn.sh
> > +++ b/t/lib-git-svn.sh
> > @@ -78,29 +78,30 @@ maybe_start_httpd () {
> >  }
> >  
> >  convert_to_rev_db () {
> > -	perl -w -- - "$@" <<\EOF
> > -use strict;
> > +	perl -w -e "use strict; my \$oidlen = $(test_oid rawsz);" -e '
> 
> $(test_oid rawsz) could be passed as an additional argument.
> 
> perl -w -- - "$(test_oid rawsz)" "$@" <<\EOF
> use strict;
> my $oidlen = shift;
> ...
> EOF

Sure, I could do that.  I originally tried to pass it through the
environment, but that didn't appear to work as I expected.
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux