#!/bin/sh
#
# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

if [ -z "$SC3_COMMAND" ] 
then
	echo "Request to run <$0 "$@"> within SC3.0 has been refused"
	exit 1
fi

if [ ! -x "$SC3_COMMAND" ]
then
	echo "Bogus request to run non-existent executable: $SC3_COMMAND"
	exit 1
fi

exec "$SC3_COMMAND" "$@"

exit 1
