From b53454730d5390e6d55b2aaa58ed6da08016f11d Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 7 May 2012 14:56:09 -0400 Subject: [PATCH] shebang fix for tls_cert (standalone script) --- plugins/tls_cert | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/tls_cert b/plugins/tls_cert index fede0e0..e4d52fa 100644 --- a/plugins/tls_cert +++ b/plugins/tls_cert @@ -1,4 +1,6 @@ -#!perl -w +#!/usr/bin/perl + +use strict; use warnings; # Very basic script to create TLS certificates for qpsmtpd @@ -45,6 +47,7 @@ my $CA_key = 'ssl/qpsmtpd-ca.key'; my $CA_crt = 'ssl/qpsmtpd-ca.crt'; my $CA_serial = 'ssl/.cert.serial'; +my $template; my ($CA, $CAfilename) = tempfile( $template, DIR => "ssl", UNLINK => 1); print ${CA} return_cfg('CA');