#!/bin/ksh
#
# Licensed Program Product:
#   VisualAge Smalltalk Enterprise V5.5
#
# (C) COPYRIGHT International Business Machines Corp. 1995, 2000
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with
# IBM Corp. and its licensors.
#

export VASTROOT_55=${VASTROOT_55:-/opt/IBMvast/5.5}
export PATH=$VASTROOT_55/bin:$PATH

#
# Setup platform-specific shared library search path 
#
abtslpath=$VASTROOT_55/bin:/usr/dt/lib

typeset -l platform=$(uname)
case $platform in
  aix)
    export LIBPATH=$abtslpath:$LIBPATH ;;
  hp-ux)
    export SHLIB_PATH=$abtslpath:$SHLIB_PATH ;;
  sunos)
     export LD_LIBRARY_PATH=$abtslpath:/usr/ucblib:/usr/openwin/lib:$LD_LIBRARY_PATH ;;
esac

instdir=/opt/IBMvast/5.5/inst
$instdir/es -mcd -no_break -i$instdir/importer.icx -ini:$instdir/importer.ini $*
