message: Export CPASSMODE in RelVal script
diff: @@ -263,6 +263,10 @@ goCPass()
  *) runpath=$outputDir ;;
  esac
  + # Export CPASSMODE variable to the CPass step number as required by AliDPG and some classes
  + unset CPASSMODE
  + [[ $cpass == 0 || $cpass == 1 ]] && export CPASSMODE=$cpass
  +
  logOutputDir=$runpath
  [[ -n "$logToFinalDestination" ]] && logOutputDir=${outputDir}
  if [[ -z "$dontRedirectStdOutToLog" ]]; then
  @@ -746,6 +750,10 @@ goMergeCPass()
  *) runpath=$outputDir ;;
  esac
  + # Export CPASSMODE variable to the CPass step number as required by AliDPG and some classes
  + unset CPASSMODE
  + [[ $cpass == 0 || $cpass == 1 ]] && export CPASSMODE=$cpass
  +
  # Robust error check in directory creation. After this block we are in $runpath.
  if ! mkdirLocal "$runpath" || ! cd "$runpath"; then
  touch "$doneFileTmp"
  