Skip to content

Commit

Permalink
Move e-mail list related data files out to ukf-data project
Browse files Browse the repository at this point in the history
Resolves ukf/ukf-meta#41.
  • Loading branch information
iay committed Jan 18, 2017
1 parent 03ae329 commit 5659006
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2297,7 +2297,7 @@
<target name="check.mailing.list" depends="flow.uk.collect">
<echo>Checking mailing list entries.</echo>
<exec executable="perl" dir="${build.dir}">
<arg value="${build.dir}/addresses.pl"/>
<arg value="${utilities.dir}/addresses.pl"/>
</exec>
</target>

Expand Down
3 changes: 2 additions & 1 deletion build/addresses.pl → utilities/addresses.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/perl

use lib "../build";
use Xalan;

#
Expand All @@ -8,7 +9,7 @@
# One extra address per line. Blank lines and lines starting with '#' are
# ignored.
#
open(EXTRAS, "extra_addresses.txt") || die "could not open extra addresses file";
open(EXTRAS, "../../ukf-data/members/extra_addresses.txt") || die "could not open extra addresses file";
while (<EXTRAS>) {
chomp; # remove \n
next if /^#/;
Expand Down

0 comments on commit 5659006

Please sign in to comment.