Permalink
Browse files

use FindBin and File::Spec to find 'lib'.

  • Loading branch information...
1 parent c7bd7d0 commit bbc1677d5d724f37f87deb3cb1f8591780f4fd44 nitro_idiot committed Oct 18, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 teto.pl
View
@@ -5,7 +5,9 @@
use Coro::Debug;
use Plack::Runner;
-use lib 'lib';
+use File::Spec;
+use FindBin;
+use lib File::Spec->catdir( $FindBin::RealBin, 'lib' );
use Teto;
use Teto::Playlist;
use Teto::Tatsumaki::Application;

0 comments on commit bbc1677

Please sign in to comment.