sometimes certain commands couldn't be found because PATH was overridden.
* src/FileSystem.cc: sometimes certain commands couldn't be found because PATH was overridden. fixed.
This commit is contained in:
parent
100dccb20c
commit
565127b0d8
|
@ -1,3 +1,8 @@
|
|||
2006-01-29 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/FileSystem.cc: sometimes certain commands couldn't be found
|
||||
because PATH was overridden. fixed.
|
||||
|
||||
2006-01-28 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/Utils.cc: fixed small bug in unmount()
|
||||
|
|
|
@ -65,6 +65,7 @@ int FileSystem::execute_command( std::vector<std::string> argv, std::string & ou
|
|||
{
|
||||
std::vector<std::string> envp ;
|
||||
envp .push_back( "LC_ALL=C" ) ;
|
||||
envp .push_back( "PATH=" + Glib::getenv( "PATH" ) ) ;
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue