From: Anders Kaseorg Date: Thu, 24 Sep 2009 15:03:39 +0000 (-0400) Subject: pkcs2pem: Output an absolute path again. X-Git-Url: https://snippets.scripts.mit.edu/gitweb.cgi/Scripts/git/.git/commitdiff_plain/8dd882284f293c02f7f02f16e0736a1fcea0ed77 pkcs2pem: Output an absolute path again. This feature was accidentally removed; add it back. Signed-off-by: Anders Kaseorg --- diff --git a/certs/pkcs2pem b/certs/pkcs2pem index 6ac3b2e..5b9caaa 100755 --- a/certs/pkcs2pem +++ b/certs/pkcs2pem @@ -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"