3 use vars
qw(%inc_translations $g4physics_list);
4 BEGIN { %inc_translations = (
5 "IFDH_service.h" =>
"ifdh_art/IFDHService/IFDH_service.h",
6 "IFBeam_service.h" =>
"ifdh_art/IFBeamService/IFBeam_service.h",
7 "IFCatalogInterface_service.h" =>
"ifdh_art/IFCatalogInterface/IFCatalogInterface_service.h",
8 "IFFileTransfer_service.h" =>
"ifdh_art/IFFileTransfer/IFFileTransfer_service.h",
9 "nucondb_service.h" =>
"ifdh_art/NUconDBService/NUconDB_service.h"
14 foreach my $inc (sort keys %inc_translations) {
15 s&^(
\s*#
include\s+[
"<])\Q$inc\E(.*)&${1}$inc_translations{$inc}${2}& and last;
use File::Basename qw(fileparse)
my($xml, $fcl, $workdir, $check, $merge)
then echo File list $list not found else cat $list while read file do echo $file sed s