Lines 547-556
Link Here
|
547 |
// default wird eine Shell im Path gesucht, |
547 |
// default wird eine Shell im Path gesucht, |
548 |
// wenn aber compsec gestzt ist holen wir uns die |
548 |
// wenn aber compsec gestzt ist holen wir uns die |
549 |
// Shell von dort |
549 |
// Shell von dort |
550 |
if ( sItem == COMMAND_SHELL ) |
550 |
if ( sItem.Equals(COMMAND_SHELL) ) |
551 |
{ |
551 |
{ |
552 |
ByteString aComspec = GetEnv( "COMSPEC" ); |
552 |
ByteString aComspec = GetEnv( "COMSPEC" ); |
553 |
if ( aComspec != "" ) |
553 |
if ( !aComspec.Equals("") ) |
554 |
return aComspec; |
554 |
return aComspec; |
555 |
} |
555 |
} |
556 |
|
556 |
|
Lines 608-614
Link Here
|
608 |
} |
608 |
} |
609 |
} |
609 |
} |
610 |
|
610 |
|
611 |
if ( sReturn == "" ) |
611 |
if ( sReturn.Equals("") ) |
612 |
sReturn = sItem; |
612 |
sReturn = sItem; |
613 |
|
613 |
|
614 |
return sReturn; |
614 |
return sReturn; |