By default, clearmake invokes cmd.exe to execute build scripts. It finds cmd.exe in %SYSTEMROOT%\system32; if SYSTEMROOT is not set, clearmake uses C:\winnt as the default system root directory. If it cannot find the shell, clearmake exits.
You can override the default shell by using a SHELL make macro (note that you must specify a full pathname and include the file's extension). The following anomalies may occur if you use a different shell or if you execute a batch file from a build script:
clearmake may not recognize failed commands and continue the build with unpredictable results.
clearmake may display an extra command prompt after a build script command completes successfully.
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 .bat files in build scripts, you must make them executable (use the cleartool protect command). To force clearmake to use the shell program, set the environment variable CCASE_SHELL_REQUIRED.
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |