[gnutls-devel] [PATCH 3/4] tests: nist-pkits: cleanup shell/perl usage

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat Jun 20 10:40:30 CEST 2015


On Sat, 2015-06-20 at 00:26 +0300, Alon Bar-Lev wrote:

> it is confusing... you use multiple methods to locate perl.
> Examples:
> cfg.mk: perl $< elf >> $@
> devel/perlasm/cpuid-x86.pl:#!/usr/bin/env perl
> tests/suite/asn1random.pl:#!/usr/bin/perl -w
> tests/suite/x509random.pl:#!/usr/bin/perl -w
> tests/nist-pkits/build-chain:eval '(exit $?0)' && eval 'exec perl -wST
> "$0" ${1+"$@"}' & eval 'exec perl -wST "$0" $argv:q'
> Maybe reduce that to one?

Indeed. Done.





More information about the Gnutls-devel mailing list