summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-09-26 23:32:09 +0100
committerSadie Powell <sadie@witchery.services>2020-09-26 23:34:03 +0100
commitb64fe8320ecbcc3f6099a3c0ae1b2739447bfc76 (patch)
tree927a8ad5bc5c1098f42db2c185cfe1e93d8d6a9a /configure
parentd0bb6bd79a7909b498ad018b4a9f6f90d4e89787 (diff)
Store generated SSL certificates in the .configure directory.
Co-Authored-By: Nicole Kleinhoff <ilbelkyr@shalture.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 5c99c2b45..767929a1d 100755
--- a/configure
+++ b/configure
@@ -393,9 +393,10 @@ EOQ
if (<$RealDir/src/modules/m_ssl_*.cpp>) {
if (prompt_bool $interactive, $question, $interactive) {
- system './tools/genssl', 'auto';
+ create_directory CONFIGURE_DIRECTORY, 0750 or print_error "unable to create ${\CONFIGURE_DIRECTORY}: $!";
+ system './tools/genssl', 'auto', CONFIGURE_DIRECTORY;
} else {
- my @pems = <$RealDir/{cert,csr,dhparams,key}.pem>;
+ my @pems = <${\CONFIGURE_DIRECTORY}/{cert,csr,dhparams,key}.pem>;
$question = <<EOQ;
The following self-signed files were previously generated and will be installed
when you run Make. Do you want to delete them?