From f015f165f597b2f3a2ca8ddb52a94c26bf23d54f Mon Sep 17 00:00:00 2001 From: David McKnight Date: Mon, 3 Mar 2008 15:59:45 +0000 Subject: [PATCH] [164300] Patrick Juhl - Fix for unix (Parameters for port selection) --- .../serverruntime/scripts/unix/server.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/unix/server.sh b/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/unix/server.sh index 544b319b2c0..a51ee07c10e 100644 --- a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/unix/server.sh +++ b/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/unix/server.sh @@ -9,6 +9,7 @@ # Contributors: # IBM Corporation - initial API and implementation # Martin Oberhuber (Wind River) - Fix for solaris (Bourne Shell export statement) +# Patrick Juhl - Fix for unix (Parameters for port selection) #******************************************************************************* # Shell script to start an RSE communications server # This script will start the datastore server listening on an available socket @@ -16,6 +17,6 @@ serverpath=.; CLASSPATH=.:dstore_extra_server.jar:dstore_core.jar:dstore_miners.jar:clientserver.jar:$CLASSPATH; export serverpath CLASSPATH if [ $1 ] -then java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false -Dclient.username=$1 -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server 0 60000 & +then java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false -Dclient.username=$1 -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server $1 & else java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server 0 60000 & fi