aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-07-12 10:17:38 +0200
committerPatrick Spek <p.spek@tyil.nl>2020-07-12 10:17:38 +0200
commit0d628c409639d26803e705dc14286581099097da (patch)
treea05af643cf89ad372a74f1d13da7e0ce6ec57eb0
parent4efcc1c4ed3b39d6a86ccdd20410cde528ffad3c (diff)
Substitute - to _ in env variable reads
-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
;