#!/bin/sh

test 

BASE=`dirname $0`

# If it is a binary session, redirect to opatchautobinary
for arg in "$@"; do
    if [ "$arg" = "-binary" ]; then
        $BASE/opatchauto-dir/opatchautocore/opatchautobinary "$@"
        exit $?
    fi
done

$BASE/opatchauto-dir/opatchautodb/opatchautodbscr "$@"
exit $?
