summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-05-23 15:49:25 +0200
committerRichard Levitte <levitte@openssl.org>2016-05-23 21:48:42 +0200
commit34f5d44f6a4eb09f4d41041091a20c2bf4bf9bf7 (patch)
tree1240ae170111fcf874211900b6b3c31e940fc9e9 /tools
parent35b060fcc994bc019acdfa96f30cf8aa4f41881a (diff)
downloadopenssl-new-34f5d44f6a4eb09f4d41041091a20c2bf4bf9bf7.tar.gz
Make sure tsget and c_rehash are named with .pl suffix on Windows and VMS
Especially on Windows, the .pl suffix is associated with the perl interpreter, and therefore make those scripts usable as commands of their own. On VMS, it simply looks better. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/build.info7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/build.info b/tools/build.info
index 3810fbcbe0..059e582345 100644
--- a/tools/build.info
+++ b/tools/build.info
@@ -1,4 +1,7 @@
+{- our $c_rehash_name =
+ $config{target} =~ /^(VC|vms)-/ ? "c_rehash.pl" : "c_rehash";
+ "" -}
IF[{- !$disabled{apps} -}]
- SCRIPTS=c_rehash
- SOURCE[c_rehash]=c_rehash.in
+ SCRIPTS={- $c_rehash_name -}
+ SOURCE[{- $c_rehash_name -}]=c_rehash.in
ENDIF