diff --git a/pr_testing/run-pr-profiling.sh b/pr_testing/run-pr-profiling.sh index 9a680185a4c..2c098f51f7d 100755 --- a/pr_testing/run-pr-profiling.sh +++ b/pr_testing/run-pr-profiling.sh @@ -31,10 +31,9 @@ for PROFILING_WORKFLOW in $WORKFLOWS;do export LOCALRT=${WORKSPACE}/${CMSSW_VERSION} PROF_RES="OK" export PROFILING_WORKFLOW - eval `scram unsetenv -sh` mkdir -p $WORKSPACE/IB pushd $WORKSPACE/IB - scram project CMSSW $CMSSW_VERSION + scram project ${CMSSW_VERSION} pushd $CMSSW_VERSION eval `scram run -sh` popd @@ -46,9 +45,6 @@ for PROFILING_WORKFLOW in $WORKFLOWS;do eval `scram unsetenv -sh` popd popd - pushd $CMSSW_VERSION - eval `scram run -sh` - popd $WORKSPACE/profiling/Gen_tool/Gen.sh $CMSSW_VERSION || true cp -v $WORKSPACE/IB/$CMSSW_VERSION/$PROFILING_WORKFLOW/step2.root $WORKSPACE/$CMSSW_VERSION/$PROFILING_WORKFLOW || true for f in $(find $WORKSPACE/IB/$CMSSW_VERSION/$PROFILING_WORKFLOW -name step*.json);do