Print this page
XXXX don't ship bldenv and nightly

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/bldenv.sh
          +++ new/tools/bldenv
↓ open down ↓ 213 lines elided ↑ open up ↑
 214  214                  source "/opt/onbld/env/$1"
 215  215          else
 216  216                  printf \
 217  217                      'Cannot find env file as either %s or /opt/onbld/env/%s\n' \
 218  218                      "$1" "$1"
 219  219                  exit 1
 220  220          fi
 221  221  fi
 222  222  shift
 223  223  
 224      -# contents of stdenv.sh inserted after next line:
 225      -# STDENV_START
 226      -# STDENV_END
 227      -
 228  224  # Check if we have sufficient data to continue...
 229  225  [[ -v CODEMGR_WS ]] || fatal_error "Error: Variable CODEMGR_WS not set."
 230  226  [[ -d "${CODEMGR_WS}" ]] || fatal_error "Error: ${CODEMGR_WS} is not a directory."
 231  227  [[ -f "${CODEMGR_WS}/usr/src/Makefile" ]] || fatal_error "Error: ${CODEMGR_WS}/usr/src/Makefile not found."
 232  228  
 233  229  # must match the getopts in nightly.sh
 234  230  OPTIND=1
 235  231  NIGHTLY_OPTIONS="-${NIGHTLY_OPTIONS#-}"
 236  232  while getopts '+0ABCDdFfGIilMmNnpRrtUuwW' FLAG $NIGHTLY_OPTIONS
 237  233  do
↓ open down ↓ 180 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX