Sample Upgrade Script (cont.)
# site.dat exists, get the defaults we need out of the file
LicenseHost=`/bin/grep '^D_LICENSE_HOST:' $SiteDatFile | /bin/sed -e 's/.*://g'`
RegistryHost=`/bin/grep '^D_REGISTRY_HOST:' $SiteDatFile | /bin/sed -e 's/.*://g'`
BackupRegistryHost=`/bin/grep '^D_RGY_BACKUP_HOST:' $SiteDatFile | /bin/sed -e 's/.*://g'`
RegistryRegion=`/bin/grep '^D_REGISTRY_REGION:' $SiteDatFile | /bin/sed -e 's/.*://g'`
if [ "$InfoLevel" -ge "$DebugMsg" ]
/bin/echo "UpdateClearCase (debug) - License Host: $LicenseHost"
/bin/echo "UpdateClearCase (debug) - Registry Host: $RegistryHost"
/bin/echo "UpdateClearCase (debug) - Backup Registry Host: $BackupRegistryHost"
/bin/echo "UpdateClearCase (debug) - Registry Region: $RegistryRegion"
# go to the install directory