Skip to content

Commit

Permalink
Merge pull request #10789 from threus/updateOccupancyScript_75x
Browse files Browse the repository at this point in the history
tiny update of occupancy script
  • Loading branch information
davidlange6 committed Aug 20, 2015
2 parents 6ce1f61 + 9000e44 commit d1cc514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DQM/SiStripMonitorClient/scripts/moduleOccupancyPlots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi

nnn=`echo $3 | awk '{print substr($0,0,4)}'`
curl -k --cert $5 --key $6 -X GET 'https://cmsweb.cern.ch/dqm/offline/data/browse/ROOT/OfflineData/'$1'/'$2'/000'${nnn}'xx/' > index.html
dqmFileNames=`cat index.html | grep $3 | grep "_DQM.root" | egrep "Prompt|Express" | sed 's/.*>\(.*\)<\/a.*/\1/' `
dqmFileNames=`cat index.html | grep $3 | egrep "_DQM.root|_DQMIO.root" | egrep "Prompt|Express" | sed 's/.*>\(.*\)<\/a.*/\1/' `
dqmFileName=`expr "$dqmFileNames" : '\(DQM[A-Za-z0-9_/.\-]*root\)'`
echo ' dqmFileNames = '$dqmFileNames
echo ' dqmFileName = ['$dqmFileName']'
Expand Down

0 comments on commit d1cc514

Please sign in to comment.