Sample Upgrade Script (cont.)
/bin/echo "*******************************************************"
/bin/echo "* Problem Detected by UpdateClearCase *"
/bin/echo "* Unable to use install class: $InstallClass "
/bin/echo "* skipping update and sending email *"
/bin/echo "*******************************************************"
( /bin/echo "UpdateClearCase: Problem Detected" ; \
/bin/echo "Machine Name: $MachName" ; \
/bin/echo "Problem Description: Unable to use install class: $InstallClass" ) | \
Mail -s "UpdateClearCase Problem Detected" $MailDest
# set the full command line (if it will fit)
CmdLinePt1="./install_release -local -to /usr/atria -rr $RegistryRegion -lh $LicenseHost -from $ReleaseArea -nq -comp $InstallComponents -level 5 -nlog -model $ModelType -rh $RegistryHost"
CmdLinePt2="-log $InstallLogFile2"