diff --git a/run-pr-tests b/run-pr-tests index 46b538a68ee1..73a92a5b0e61 100755 --- a/run-pr-tests +++ b/run-pr-tests @@ -93,7 +93,10 @@ fi [ "X$COMP_QUEUE" = "X" ] && COMP_QUEUE=$(echo $RELEASE_QUEUE | sed 's|^\(CMSSW_[0-9]*_[0-9]*\)_.*|\1_X|') if [ "X$COMPARISON_REL" = "X" ] ; then - COMPARISON_REL=$(echo $RELEASE_FORMAT | sed 's|_[A-Z][A-Z0-9]*_X_|_X_|') + case $RELEASE_FORMAT in + CMSSW_9_4_MAOD_X* ) COMPARISON_REL=$RELEASE_FORMAT ;; + * ) COMPARISON_REL=$(echo $RELEASE_FORMAT | sed 's|_[A-Z][A-Z0-9]*_X_|_X_|') + esac fi if [ "X$COMPARISON_ARCH" = "X" ] ; then