Skip to content

Commit

Permalink
Use variable scram won't unset
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Nov 6, 2024
1 parent 6423579 commit 7685059
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pr_testing/run-pr-profiling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ for PROFILING_WORKFLOW in $WORKFLOWS;do
echo "<html><head></head><title>Profiling wf $PROFILING_WORKFLOW' results</title><body><ul>" > $WORKSPACE/upload/profiling/index-$PROFILING_WORKFLOW.html
LOCALREL=${WORKSPACE}/${CMSSW_VERSION}
export LOCALRT=${WORKSPACE}/${CMSSW_VERSION}
export WORKING_DIR=${WORKSPACE}/${CMSSW_VERSION}
PROF_RES="OK"
export PROFILING_WORKFLOW
mkdir -p $WORKSPACE/IB
Expand All @@ -41,7 +42,7 @@ for PROFILING_WORKFLOW in $WORKFLOWS;do
$WORKSPACE/profiling/Gen_tool/runall.sh $CMSSW_VERSION || true
unset RUNALLSTEPS
eval `scram unsetenv -sh`
cd $LOCALRT
cd $WORKING_DIR
eval `scram run -sh`
cd $WORKSPACE
$WORKSPACE/profiling/Gen_tool/Gen.sh $CMSSW_VERSION || true
Expand Down

0 comments on commit 7685059

Please sign in to comment.