#!/bin/sh
#
# $Header: initializeDeploymentLibrary.sh 29-dec-2005.05:37:34 njerath Exp $
#
# initializeDeploymentLibrary.sh
#
# Copyright (c) 2005, Oracle. All rights reserved.  
#
#    NAME
#      initializeDeploymentLibrary.sh - <one-line expansion of the name>
#
#    DESCRIPTION
#      <short description of component this file declares/defines>
#
#    NOTES
#      <other useful comments, qualifications, etc.>
#
#    MODIFIED   (MM/DD/YY)
#    njerath     12/27/05 - 
#    kashukla    12/05/05 - 
#    wsmit       11/10/05 - set the maturity status and set directory to /tmp 
#    wsmit       11/10/05 - set the maturity status and set directory to /tmp 
#    wsmit       11/10/05 - Creation
#

# invoke sqlplus to insert 3 rows into MGMT_SWLIB_MATURITY_STATUS and 
# 1 row ('/tmp') into MGMT_SWLIB_DATA_DIRECTORIES
# 2 arguments -- db user and passwd

if [ $# -ne 2 ]; then
  echo 1>&2 Usage: $0 username passwd
  exit 127
fi

sqlplus $1/$2 @initializeDeploymentLibrary.sql
exit 0
