]> sipb.mit.edu Git - snippets/.git/commitdiff
pkcs2pem: Output an absolute path again.
authorAnders Kaseorg <andersk@mit.edu>
Thu, 24 Sep 2009 15:03:39 +0000 (11:03 -0400)
committerAnders Kaseorg <andersk@mit.edu>
Thu, 24 Sep 2009 15:03:39 +0000 (11:03 -0400)
This feature was accidentally removed; add it back.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
certs/pkcs2pem

index 6ac3b2e57d557bd2a5953e98c6e454d0e2035451..5b9caaad8b3951b655479d7b446da3cebefa7325 100755 (executable)
@@ -38,6 +38,8 @@ To use it with perl's LWP, set the following environment variables:
 
 EOF
 
+pem=$(readlink -f "$pem")
+
 # No, this doesn't handle quoting properly.
 echo HTTPS_CERT_FILE="$pem"
 echo HTTPS_KEY_FILE="$pem"