diff options
Diffstat (limited to 'statify')
-rwxr-xr-x | statify | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -13,8 +13,9 @@ BEGIN { if(-f '/etc/elections/Votify.pm') { $dirname = '/etc/elections'; } else { - use File::Basename; - $dirname = dirname(__FILE__); + use Cwd qw(abs_path); + use File::Basename qw(dirname); + $dirname = dirname(abs_path(__FILE__)); } push @INC, $dirname; } |