7 print "USAGE: fix_log_debug_art211.pl <input-file>\n";
15 print "check $inputfile for LOG_DEBUG\n";
16 open(PIN,
"< $inputfile") or die "Couldn't
open $inputfile";
17 open(POUT, "> $outputfile") or die "Couldn't
open $outputfile";
21 if (( $line =~
m/LOG_DEBUG/ ) && ( $line =~
m/<</ )) {
25 print "updating $line\n";
26 print POUT
"// workaround for #19851\n";
27 print POUT
"//$line\n";
28 $line =~
s/LOG_DEBUG/mf::LogDebug/;
do one_file $F done echo for F in find $TOP name CMakeLists txt print
tuple m
now if test mode generate materials, CRT shell, world, gdml header else just generate CRT shell for u...
my($xml, $fcl, $workdir, $check, $merge)
then echo File list $list not found else cat $list while read file do echo $file sed s
print OUTPUT<< EOF;< setup name="Default"version="1.0">< worldref="volWorld"/></setup ></gdml > EOF close(OUTPUT)
open(RACETRACK) or die("Could not open file $RACETRACK for writing")