Mercurial > repo
changeset 12102:4c3037681978 draft
<fizzie> sled /hackenv/bin/words//s|share/WordData|$ENV{\'HACKENV\'}/&|
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 16 Nov 2019 22:31:27 +0000 |
parents | 2b3cc639ed6d |
children | d0f098a0c5cb |
files | bin/words |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/words Sat Nov 16 22:29:40 2019 +0000 +++ b/bin/words Sat Nov 16 22:31:27 2019 +0000 @@ -101,7 +101,7 @@ sub load_dataset { my ($mod) = @_; - push @loaded_data, retrieve ("share/WordData/$mod") or die "Unable to load $mod"; + push @loaded_data, retrieve ("$ENV{'HACKENV'}/share/WordData/$mod") or die "Unable to load $mod"; } sub main {