Ignore:
Timestamp:
Jul 6, 2009, 5:39:35 PM (15 years ago)
Author:
iritscen
Message:

Implemented escapePath() to fix path bug on Mac side.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AE/Installer/trunk/source/aeinstallerapp.cpp

    r385 r393  
    114114        // test for the third-party mono framework, because without it, on Mac, we are up a creek
    115115        char monoCommand[300] = "which mono >> ";
    116         strcat(monoCommand, system_complete("./mono_check.log").string().c_str());
     116        strcat(monoCommand, escapePath(system_complete("mono_check.log").string()).c_str());
    117117        system(monoCommand);
    118118        fstream file;
    119         file.open("./mono_check.log");
     119        file.open("mono_check.log");
    120120        string line;
    121121        int line_count = 0;
     
    126126        }
    127127        file.close();
    128         remove("./mono_check.log");
     128        remove("mono_check.log");
    129129       
    130130        if (line_count <= 1) // this means that "which mono" returned nothing -- abort! abort! abort!
Note: See TracChangeset for help on using the changeset viewer.