From 55aaf51316be7e7e4d97764efa8d1af40930c0b0 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 13 Mar 2013 15:52:44 +0000
Subject: [PATCH] setup: Added SCRIPT_ARGS environment variable to allow debugging like any other CLI programs
---
opendj-sdk/opends/resource/setup | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/resource/setup b/opendj-sdk/opends/resource/setup
index f7f78a5..5c757ca 100755
--- a/opendj-sdk/opends/resource/setup
+++ b/opendj-sdk/opends/resource/setup
@@ -24,7 +24,7 @@
#
#
# Copyright 2006-2008 Sun Microsystems, Inc.
-# Portions Copyright 2011 ForgeRock AS
+# Portions Copyright 2011-2013 ForgeRock AS
# Capture the current working directory so that we can change to it later.
@@ -54,7 +54,8 @@
fi
# Launch the setup process.
-"${OPENDJ_JAVA_BIN}" ${OPENDJ_JAVA_ARGS} ${SCRIPT_NAME_ARG} org.opends.quicksetup.installer.SetupLauncher "${@}"
+"${OPENDJ_JAVA_BIN}" ${OPENDJ_JAVA_ARGS} ${SCRIPT_ARGS} ${SCRIPT_NAME_ARG} \
+ org.opends.quicksetup.installer.SetupLauncher "${@}"
# return part
RETURN_CODE=$?
--
Gitblit v1.10.0