# HG changeset patch # User HackEso # Date 1573943487 0 # Node ID 4c30376819785b0e7370c4edc12f7bab09c52c17 # Parent 2b3cc639ed6d6688a737cf666beb4f35efc25973 sled /hackenv/bin/words//s|share/WordData|$ENV{\'HACKENV\'}/&| diff -r 2b3cc639ed6d -r 4c3037681978 bin/words --- 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 {