portability improvement

Sat, 17 Feb 2018 02:26:55 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 17 Feb 2018 02:26:55 -0500
changeset 689
840057d4b493
parent 688
2ad9a3d85adc
child 690
d005acd0e883

portability improvement

.replyrc file | annotate | diff | comparison | revisions
bin/archive-dir file | annotate | diff | comparison | revisions
--- a/.replyrc
+++ b/.replyrc
@@ -1,4 +1,4 @@
-script_line1 = use lib "$ENV{HOME}/.lib/perl5"; use ReplyStartup;
+script_line1 = use lib glob('~/.lib/perl5'); use ReplyStartup;
 
 [Colors]
 [DataPrinter]
--- a/bin/archive-dir
+++ b/bin/archive-dir
@@ -4,7 +4,7 @@ use 5.014;
 use warnings;
 use strict;
 
-use lib "$ENV{HOME}/.lib/perl5";
+use lib glob('~/.lib/perl5');
 use Autofetch;
 
 use Time::Piece;

mercurial