From fafb1d70254e4f5ae3faa0dfa2d941df3bec4869 Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Wed, 6 Nov 2024 19:43:54 +0100 Subject: [PATCH] Leave environment set to get CMSSW_VERSION --- pr_testing/run-pr-profiling.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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