commit | fdd2d12dcf84a5726a342a27350acb91fad4cb48 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Oct 12 10:42:34 2021 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Oct 12 12:20:31 2021 +0200 |
tree | c2593e20bc4b6b5a235b1cc5938fbda8a21cb784 | |
parent | 15c84fdbaccd94b79aed7f8b55596c4be5fbbbb0 [diff] [blame] |
Do not include directorys in zip name changes Change-Id: I11b7c6c6f4d7ebdc0d07eb8440940c8771e941ab
diff --git a/script/korapxml2conllu b/script/korapxml2conllu index 6c7e9b8..c5fc1fe 100755 --- a/script/korapxml2conllu +++ b/script/korapxml2conllu
@@ -88,7 +88,7 @@ close(CONLL); next; } - $data_zip =~ s/\.([^.]+)\.zip$/.zip/; + $data_zip =~ s/\.([^\/.]+)\.zip$/.zip/; my $foundry = $1; die "cannot open data file $data_zip corresponding to $morpho_zip" if(! -r $data_zip);