aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-07-12 10:17:38 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-07-25 02:17:37 +0200
commitc227454ff51a5a51f811547340f71de24c37cf7f (patch)
treea05af643cf89ad372a74f1d13da7e0ce6ec57eb0 /lib
parentde2d56f54918133c4aab7a9f6456c8f8b4511ac1 (diff)
Substitute - to _ in env variable reads
Diffstat (limited to 'lib')
-rw-r--r--lib/Config.rakumod1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Config.rakumod b/lib/Config.rakumod
index 9e2a114..f85774a 100644
--- a/lib/Config.rakumod
+++ b/lib/Config.rakumod
@@ -370,6 +370,7 @@ method !read-from-env (
# Shell-style variable names.
my $var = "$name$key"
.subst('.', '_', :g)
+ .subst('-', '_', :g)
.uc
;