: $Workfile:   ConvertDBP1toP2.sh  $ $Revision:   1.0  $
#**********************************************************************#
#*                                                                    *#
#* Copyright (c) 2003 by Sun Microsystems, Inc.                       *#
#* All rights reserved.                                               *#
#*                                                                    *#
#**********************************************************************#

# make sure any unexpected 'kill' in PasswordReader resets terminal echo, etc.
trap "stty icanon echo" 0

java -DEMPSECURITY=$EMPSECURITY -Djava.security.manager com.sun.emp.security.utilities.ConvertDBP1toP2 $1 $2 $3 $4

RET=$?
if test $RET -ne 0
then echo ConvertDBP1toP2 command terminated with error
fi
exit $RET
