From e27399a70c004ee3bf5908edadb4c6c9893dad9c Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Tue, 29 Mar 2011 13:16:03 -0700 Subject: mailcert.sh: no need to export any variables --- mailcert.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mailcert.sh b/mailcert.sh index 6bbe890..3b5006f 100755 --- a/mailcert.sh +++ b/mailcert.sh @@ -64,9 +64,9 @@ if [[ "$CACN" =~ (.+)/emailAddress.+ ]]; then CACN=${BASH_REMATCH[1]} fi -export BOUNDARY="$(dd if=/dev/urandom bs=16 count=1 status=noxfer 2>/dev/null | base64)" -export USERCERTNAME=$(basename "$USERCERT") -export CACERTNAME=$(basename "$CACERT") +BOUNDARY="$(dd if=/dev/urandom bs=16 count=1 status=noxfer 2>/dev/null | base64)" +USERCERTNAME=$(basename "$USERCERT") +CACERTNAME=$(basename "$CACERT") /usr/lib/sendmail << EOF To: $USEREMAIL -- cgit v1.2.3