diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-31 09:27:15 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-04-01 07:24:04 +0200 |
commit | 5902821d81ced5e7c5db972e4b569848500940f7 (patch) | |
tree | 870bfa988b1416a7f27f05b045521d98d7aa1388 /apps | |
parent | 475965f2ef8eaeb67f065a7eabd3a781da76305b (diff) | |
download | openssl-5902821d81ced5e7c5db972e4b569848500940f7.tar.gz |
Make the use of perl more consistent
- In Configure, register the perl interpreter used to run Configure,
so that's the one being used throughout instead of something else
that Configure happens to find. This is helpful for using a perl
version that's not necessarely first in $PATH:
/opt/perl/5.22.1/bin/perl ./Configure
- Make apps/tsget a generated file, just like apps/CA.pl, so the
perl interpreter registered by Configure becomes the hashbang path
instead of a hardcoded /usr/bin/perl
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/build.info | 3 | ||||
-rw-r--r-- | apps/tsget.in (renamed from apps/tsget) | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/build.info b/apps/build.info index d581aad4bf..d8ad19702c 100644 --- a/apps/build.info +++ b/apps/build.info @@ -14,5 +14,6 @@ SOURCE[openssl]=\ INCLUDE[openssl]={- rel2abs(catdir($builddir,"../include")) -} .. ../include DEPEND[openssl]=../libssl -SCRIPTS=CA.pl +SCRIPTS=CA.pl tsget SOURCE[CA.pl]=CA.pl.in +SOURCE[tsget]=tsget.in diff --git a/apps/tsget b/apps/tsget.in index da900d98a1..fe029f353a 100644 --- a/apps/tsget +++ b/apps/tsget.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!{- $config{perl} -} # Written by Zoltan Glozik <zglozik@stones.com>. # Copyright (c) 2002 The OpenTSA Project. All rights reserved. $::version = '$Id: tsget,v 1.3 2009/09/07 17:57:18 steve Exp $'; |