diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-07-26 16:35:46 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-07-26 16:35:46 +0200 |
commit | 1574bc0c80918234921a4963624343b33fcc8d31 (patch) | |
tree | 86d04be9f634c57e0b8c652a8c3a0c660d7e4f3a /bin | |
parent | 663e5f1ecd0dd37c2b02f04d9d1024a6c6885695 (diff) |
fix exclude / --exclude bug
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/efa | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -216,6 +216,10 @@ if ( defined $opt->{'ignore-info'} and length( $opt->{'ignore-info'} ) == 0 ) { $opt->{'ignore-info'} = undef; } +if ( $opt->{exclude} ) { + $opt->{exclude} = [ split( /,/, join( ',', @{ $opt->{exclude} } ) ) ]; +} + $efa = eval { Travel::Routing::DE::EFA->new( efa_url => $efa_url, |