]> git.sesse.net Git - wloh/blobdiff - sync.pl
Fix include paths for static scripts.
[wloh] / sync.pl
diff --git a/sync.pl b/sync.pl
index d57af449979c05672fc658b0c930e7e28cf744ef..9af864217b9712c67e7fc8536779e87e69c2aa15 100755 (executable)
--- a/sync.pl
+++ b/sync.pl
@@ -5,7 +5,8 @@ use warnings;
 no warnings qw(once);
 use Encode;
 use Time::HiRes;
-require './config.pm';
+use lib qw( include );
+require 'config.pm';
 
 sub copy_escape {
        my $x = shift;