fix typo bug in ||

This commit is contained in:
Oliver Gorwits
2012-12-20 14:04:21 +00:00
parent 103f8d6c29
commit 2ef08feb9c

View File

@@ -10,7 +10,7 @@ use Path::Class;
our $VERSION = '2.00_010'; our $VERSION = '2.00_010';
BEGIN { BEGIN {
if (not length ($ENV{DANCER_APPDIR} '') if (not length ($ENV{DANCER_APPDIR} || '')
or not -f file($ENV{DANCER_APPDIR}, 'config.yml')) { or not -f file($ENV{DANCER_APPDIR}, 'config.yml')) {
my $auto = dir(dist_dir('App-Netdisco'))->absolute; my $auto = dir(dist_dir('App-Netdisco'))->absolute;