diff options
| author | beck <> | 1999-09-29 04:37:45 +0000 |
|---|---|---|
| committer | beck <> | 1999-09-29 04:37:45 +0000 |
| commit | de8f24ea083384bb66b32ec105dc4743c5663cdf (patch) | |
| tree | 1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/util/perlpath.pl | |
| parent | cb929d29896bcb87c2a97417fbd03e50078fc178 (diff) | |
| download | openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2 openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip | |
OpenSSL 0.9.4 merge
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/util/perlpath.pl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/libcrypto/util/perlpath.pl b/src/lib/libcrypto/util/perlpath.pl index 9e57e10ad4..a1f236bd98 100644 --- a/src/lib/libcrypto/util/perlpath.pl +++ b/src/lib/libcrypto/util/perlpath.pl | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/perl | 1 | #!/usr/local/bin/perl |
| 2 | # | 2 | # |
| 3 | # modify the '#!/usr/local/bin/perl' | 3 | # modify the '#!/usr/local/bin/perl' |
| 4 | # line in all scripts that rely on perl. | 4 | # line in all scripts that rely on perl. |
| @@ -17,7 +17,12 @@ sub wanted | |||
| 17 | @a=<IN>; | 17 | @a=<IN>; |
| 18 | close(IN); | 18 | close(IN); |
| 19 | 19 | ||
| 20 | $a[0]="#!$ARGV[0]/perl\n"; | 20 | if (-d $ARGV[0]) { |
| 21 | $a[0]="#!$ARGV[0]/perl\n"; | ||
| 22 | } | ||
| 23 | else { | ||
| 24 | $a[0]="#!$ARGV[0]\n"; | ||
| 25 | } | ||
| 21 | 26 | ||
| 22 | # Playing it safe... | 27 | # Playing it safe... |
| 23 | $new="$_.new"; | 28 | $new="$_.new"; |
