5.7 SHELL Environment Variable

clearmake does not use the SHELL environment variable to select the shell program in which to execute build scripts. Windows cmd.exeYou can specify SHELL on the command line, in the makefile, or in a build options spec; the value of SHELL must be a full pathname, and on Windows, it must include the file extension.

NOTE: If clearmake determines that it can execute the build script directly, it does not use the shell program even if you specify one explicitly. If you use Windows .bat files in build scripts, you must make them executable (use the cleartool protect command). To force clearmake to always use the shell program, set the environment variable CCASE_SHELL_REQUIRED.