Software Distributor Administration Guide for HP-UX 11i

Using Control Scripts
Introduction to Control Scripts
Chapter 11376
Script Interpreter
By default, SD interprets scripts with a POSIX shell (sh). You can specify
other script interpreters in two ways.
First, any control script can define an interpreter in the first line of the
script.
Second, you can use the interpreter keyword to define a different
interpreter for specific scripts. The syntax is:
interpreter interpreter_name
For example:
control_file
source scripts
tag checkinstall
interpreter ksh
SD checks that the interpreter is available. If the interpreter is not
available, the script fails. (To avoid this problem, you can use a
checkinstall script to verify the existence of any script interpreters that
you specify.) If SD finds the interpreter, it processes the script normally
using the interpreter that you specified.