Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 5, 2009, 9:33:47 PM (15 years ago)
Author:
rgrieder
Message:

Applied crucial fix from console branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/src/libraries/core/PathConfig.cc

    r6038 r6039  
    254254        putenv(const_cast<char*>(("PATH=" + pathVariable + ";" + modulePath_.string()).c_str()));
    255255
     256        // Make sure the path exists, otherwise don't load modules
     257        if (!boost::filesystem::exists(modulePath_))
     258            return modulePaths;
     259
    256260        boost::filesystem::directory_iterator file(modulePath_);
    257261        boost::filesystem::directory_iterator end;
Note: See TracChangeset for help on using the changeset viewer.