Sample Upgrade Script (cont.)
for cdf_file in `/bin/ls $LocalCDFDir`
/bin/diff $LocalCDFDir/$cdf_file $InstallCDFDir/$cdf_file >/dev/null
if [ "$SaveResult" -eq "0" ]
# zero EOT, this means the cdf files (the ones controlling the version
# information) match, and no update is needed
if [ "$InfoLevel" -gt "$Silent" ]
/bin/echo "UpdateClearCase - no update needed."