Fix locating properly
This commit is contained in:
parent
b9a8688b14
commit
739793d624
|
@ -1,8 +1,9 @@
|
||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
use Dancer;
|
use Dancer;
|
||||||
use FindBin;
|
use autodie qw(chdir);
|
||||||
|
use Cwd qw(abs_path);
|
||||||
|
|
||||||
chdir "$FindBin::Bin/..";
|
chdir abs_path(dirname(__FILE__) . '/..');
|
||||||
require App::Genregenerator;
|
require App::Genregenerator;
|
||||||
|
|
||||||
dance;
|
dance;
|
||||||
|
|
Loading…
Reference in New Issue