setup revision 66f6c6680ec1673ff6f1094a9e2b74967dd6bfb7
4330N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 4330N/A# Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved 4330N/A# The contents of this file are subject to the terms 4330N/A# of the Common Development and Distribution License 4330N/A# (the License). You may not use this file except in 4330N/A# compliance with the License. 4330N/A# You can obtain a copy of the License at 4330N/A# See the License for the specific language governing 4330N/A# permission and limitations under the License. 4330N/A# When distributing Covered Code, include this CDDL 4330N/A# Header Notice in each file and include the License file 4330N/A# If applicable, add the following below the CDDL Header, 4330N/A# with the fields enclosed by brackets [] replaced by 4330N/A# your own identifying information: 4330N/A# "Portions Copyrighted [year] [name of copyright owner]" 4330N/A# $Id: setup,v 1.11 2009/01/28 05:34:46 ww203982 Exp $ 4330N/Aif [ -z
"${JAVA_HOME}" ];
then 4330N/A echo "Please define JAVA_HOME environment variable before running this program" 4330N/A echo "setup program will use the JVM defined in JAVA_HOME for all the CLI tools" 4588N/A echo "The defined JAVA_HOME environment variable is not correct" 4588N/A echo "setup program will use the JVM defined in JAVA_HOME for all the CLI tools" 4588N/A echo "setup fails because awk is not found" 4330N/A echo "This program is designed to work with 1.4 or newer JRE." 4330N/Aif [
"$1" =
"-h" -o
"$1" =
"--help" ] ;
then 4330N/Aif [
"$1" =
"-l" -o
"$1" =
"--log" ] ;
then if [
"$1" =
"-d" -o
"$1" =
"--debug" ] ;
then if [
"$1" =
"-p" -o
"$1" =
"--path" ] ;
then if [
"$3" =
"-l" -o
"$3" =
"--log" ] ;
then if [
"$3" =
"-d" -o
"$3" =
"--debug" ] ;
then if [
"$3" =
"-p" -o
"$3" =
"--path" ] ;
then if [
"$5" =
"-l" -o
"$5" =
"--log" ] ;
then if [
"$5" =
"-d" -o
"$5" =
"--debug" ] ;
then if [
"$5" =
"-p" -o
"$5" =
"--path" ] ;
then