From 39843e66b3de9949b59a6e121180492cfe9f0477 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 22 Jun 2015 01:29:28 +0200 Subject: [PATCH] Take config filename from an environment variable if it exists. --- config.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.pm b/config.pm index b169e07..2bb1974 100644 --- a/config.pm +++ b/config.pm @@ -67,5 +67,6 @@ our @masters = ( our $tb_serial_key = undef; eval { - require 'config.local.pm'; + my $config_filename = $ENV{'REMOTEGLOT_CONFIG'} // 'config.local.pm'; + require $config_filename; }; -- 2.39.2