Skip to content

Commit

Permalink
Remove AthensPUIDAuthority from all fragment files.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Sep 28, 2013
1 parent 141b5a0 commit 090985e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build/patch_entity.pl
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
#!/usr/bin/perl

$seen = 0;

while (<>) {
if (/^\s+http:\/\/ukfederation.org.uk\/2006\/11\/label/) {
$seen = 1; # don't apply the change twice to the same file
}
if (!$seen && /^(\s+)http:\/\/www.w3.org\/2001\/04\/xmlenc/) {
print "$1http://ukfederation.org.uk/2006/11/label uk-fed-label.xsd\n";
if (/AthensPUIDAuthority/) {
next;
}
print $_;
}

0 comments on commit 090985e

Please sign in to comment.