From 74794df3e3973501d923b19854c5c618f57a68af Mon Sep 17 00:00:00 2001 From: David McKnight Date: Fri, 14 Nov 2008 16:59:04 +0000 Subject: [PATCH] [250203] [dstore][shells]%var% is substituted to null in Unix shell --- .../dstore/universal/miners/command/CommandMinerThread.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java b/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java index 7dcd195d939..72197b8d067 100644 --- a/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java +++ b/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java @@ -17,6 +17,7 @@ * David McKnight (IBM) - [196624] dstore miner IDs should be String constants rather than dynamic lookup * Noriaki Takatsu (IBM) - [220126] [dstore][api][breaking] Single process server for multiple clients * David McKnight (IBM) [224906] [dstore] changes for getting properties and doing exit due to single-process capability + * David McKnight (IBM) [250203] [dstore][shells]%var% is substituted to null in Unix shell *******************************************************************************/ package org.eclipse.rse.internal.dstore.universal.miners.command; @@ -797,7 +798,7 @@ public class CommandMinerThread extends MinerThread } } } //If the current char is a %, then simply look for a matching % - else if (c == '%') + else if (c == '%' && _isWindows) { int next = theValue.toString().indexOf("%", index + 1); //$NON-NLS-1$ if (next > 0)