Mercurial > repo
diff bin/words @ 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 | 74ff03773e37 |
children |
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 {