fix_headers_art209.pl
Go to the documentation of this file.
1 use strict;
2 
3 use vars qw(%subdir_list);
4 use vars qw(%header_list);
5 
6 # explicit headers to avoid conflicts with experiment code
7 BEGIN { %header_list = (
8 "art/Persistency/RootDB/SQLite3Wrapper.h" => "art/Framework/IO/Root/RootDB/SQLite3Wrapper.h",
9 "art/Persistency/RootDB/SQLErrMsg.h" => "art/Framework/IO/Root/RootDB/SQLErrMsg.h"
10  ); }
11 
12 foreach my $inc (sort keys %header_list) {
13  s&^(\s*#include\s+["<])\Q$inc\E(.*)&${1}$header_list{$inc}${2}& and last;
14 }