From ae49d07622fe84a852aa5f904dfc512d4b44e411 Mon Sep 17 00:00:00 2001 From: Robin Bowes Date: Mon, 22 Dec 2014 22:46:45 +0000 Subject: [PATCH] Fix bug where the lib dir would not be found if the script was run from a symlink --- flac2mp3.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flac2mp3.pl b/flac2mp3.pl index 1e6cc4c..0696536 100755 --- a/flac2mp3.pl +++ b/flac2mp3.pl @@ -15,7 +15,7 @@ use Carp; use FindBin; -use lib "$FindBin::Bin/lib"; +use lib "$FindBin::RealBin/lib"; use Audio::FLAC::Header; use Data::Dumper;