From 46e491347dae27e7582dcbf8e8158585b835e47a Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Tue, 27 Feb 2018 17:19:42 +0100 Subject: [PATCH] force use 94maod release for comparison --- run-pr-tests | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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