summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-07-26 16:35:46 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-07-26 16:35:46 +0200
commit1574bc0c80918234921a4963624343b33fcc8d31 (patch)
tree86d04be9f634c57e0b8c652a8c3a0c660d7e4f3a /bin
parent663e5f1ecd0dd37c2b02f04d9d1024a6c6885695 (diff)
fix exclude / --exclude bug
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/efa b/bin/efa
index f63c9d2..0d35fbc 100755
--- a/bin/efa
+++ b/bin/efa
@@ -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,