Set #!... path to Perl in apps/der_chop automatically.
authorBodo Möller <bodo@openssl.org>
Tue, 25 May 1999 22:31:49 +0000 (22:31 +0000)
committerBodo Möller <bodo@openssl.org>
Tue, 25 May 1999 22:31:49 +0000 (22:31 +0000)
Configure
apps/der_chop.in [moved from apps/der_chop with 100% similarity]

index 390e21e..60b1167 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -650,6 +650,12 @@ if($IsWindows) {
        # Run "make depend" manually if you want to be able to delete
        # the source code files of ciphers you left out.
        &dofile("tools/c_rehash",$openssldir,'^DIR=',   'DIR=%s',);
+       if ( $perl =~ m@^/@) {
+           &dofile("apps/der_chop",$perl,'^#!/', '#!%s');
+       } else {
+           # No path for Perl known ...
+           &dofile("apps/der_chop",'/usr/local/bin/perl','^#!/', '#!%s');
+       }           
 }
 
 my $pwd;
similarity index 100%
rename from apps/der_chop
rename to apps/der_chop.in