SHELL environment variable

Learn about the SHELL environment variable.

clearmake does not use the SHELL environment variable to select the shell program in which to execute build scripts. It uses a UNIX or Linux Bourne shell (/bin/sh), unless you specify another program with a SHELL macro. You can specify SHELL on the command line, in the makefile, or in a build options spec; the value of SHELL must be a full path name.

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. To force clearmake to always use the shell program, set the environment variable CCASE_SHELL_REQUIRED.