#!/bin/sh

# Reset arguments just in case you ran the script earlier.
arg1=""
arg2=""
arg3=""
arg4=""
arg5=""

# Save args before calling other scripts
if [ "$*" != "" ]
then
  arg1=$1
  shift
fi

if [ "$*" != "" ]
then
  arg2=$1
  shift
fi

if [ "$*" != "" ]
then
  arg3=$1
  shift
fi

if [ "$*" != "" ]
then
  arg4=$1
  shift
fi

if [ "$*" != "" ]
then
  arg5=$1
  shift
fi


pathToScript=`dirname %0`
. $pathToScript/../internal/commonEnv.sh

../../java/jre/bin/java  -classpath ../classes:$MAXIMO_CLASSPATH  psdi.webclient.upgrade.MXScreenDiff $arg1 $arg2 $arg3 $arg4 $arg5

exit $?
root@print-barcode:/opt/IBM/SMP/maximo/tools/maximo/screen-upgrade# cat mxdiff.sh 
#!/bin/sh

# Reset arguments just in case you ran the script earlier.
arg1=""
arg2=""
arg3=""
arg4=""
arg5=""

# Save args before calling other scripts
if [ "$*" != "" ]
then
  arg1=$1
  shift
fi

if [ "$*" != "" ]
then
  arg2=$1
  shift
fi

if [ "$*" != "" ]
then
  arg3=$1
  shift
fi

if [ "$*" != "" ]
then
  arg4=$1
  shift
fi

if [ "$*" != "" ]
then
  arg5=$1
  shift
fi


pathToScript=`dirname %0`
. $pathToScript/../internal/commonEnv.sh

../../java/jre/bin/java  -classpath ../classes:$MAXIMO_CLASSPATH  psdi.webclient.upgrade.MXScreenDiff $arg1 $arg2 $arg3 $arg4 $arg5

exit $?
