mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
[339741] [dstore][shells] consecutive prompt line is ignored
This commit is contained in:
parent
a93ea47973
commit
2f4c93cfc7
1 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
||||||
* David McKnight (IBM) [318372] [dstore][shells] "export" shell command invalid for certain shells
|
* David McKnight (IBM) [318372] [dstore][shells] "export" shell command invalid for certain shells
|
||||||
* David McKnight (IBM) [323262] [dstore] zos shell does not display [ ] brackets properly
|
* David McKnight (IBM) [323262] [dstore] zos shell does not display [ ] brackets properly
|
||||||
* David McKnight (IBM) - [283613] [dstore] Create a Constants File for all System Properties we support
|
* David McKnight (IBM) - [283613] [dstore] Create a Constants File for all System Properties we support
|
||||||
|
* David McKnight (IBM) [339741] [dstore][shells] consecutive prompt line is ignored
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.dstore.universal.miners.command;
|
package org.eclipse.rse.internal.dstore.universal.miners.command;
|
||||||
|
@ -1312,7 +1313,7 @@ public class CommandMinerThread extends MinerThread
|
||||||
if (size > 0)
|
if (size > 0)
|
||||||
{
|
{
|
||||||
DataElement lastObject = _status.get(size - 1);
|
DataElement lastObject = _status.get(size - 1);
|
||||||
if (!lastObject.getType().equals("prompt")) //$NON-NLS-1$
|
if (!lastObject.getType().equals("prompt") || !lastObject.getName().equals(line)) //$NON-NLS-1$
|
||||||
{
|
{
|
||||||
line = line.replaceAll("//", "/"); //$NON-NLS-1$ //$NON-NLS-2$
|
line = line.replaceAll("//", "/"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
fileName = fileName.replaceAll("//", "/"); //$NON-NLS-1$ //$NON-NLS-2$
|
fileName = fileName.replaceAll("//", "/"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
|
|
Loading…
Add table
Reference in a new issue