summaryrefslogtreecommitdiff
path: root/tools/bootstrp/command.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bootstrp/command.cxx')
-rw-r--r--tools/bootstrp/command.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/bootstrp/command.cxx b/tools/bootstrp/command.cxx
index 605965339b0e..2ab0cc8dc4a6 100644
--- a/tools/bootstrp/command.cxx
+++ b/tools/bootstrp/command.cxx
@@ -355,7 +355,7 @@ CCommand::CCommand( ByteString &rString )
{
rString.SearchAndReplace( '\t', ' ' );
aCommand = rString.GetToken( 0, ' ' );
- aCommandLine = Search();
+ aCommandLine = Search( "PATH" );
#ifndef UNX
aCommandLine += " /c ";
#else
@@ -365,7 +365,7 @@ CCommand::CCommand( ByteString &rString )
ByteString sCmd( rString.GetToken( 0, ' ' ));
ByteString sParam( rString.Copy( sCmd.Len()));
- aCommandLine += Search( thePath, sCmd );
+ aCommandLine += Search( "PATH", sCmd );
aCommandLine += sParam;
ImplInit();
@@ -379,7 +379,7 @@ CCommand::CCommand( const char *pChar )
aString.SearchAndReplace( '\t', ' ' );
aCommand = aString.GetToken( 0, ' ' );
- aCommandLine = Search();
+ aCommandLine = Search( "PATH" );
#ifndef UNX
aCommandLine += " /c ";
#else
@@ -390,7 +390,7 @@ CCommand::CCommand( const char *pChar )
ByteString sCmd( rString.GetToken( 0, ' ' ));
ByteString sParam( rString.Copy( sCmd.Len()));
- aCommandLine += Search( thePath, sCmd );
+ aCommandLine += Search( "PATH", sCmd );
aCommandLine += sParam;
ImplInit();