Date:2012-10-17 23:48:11 (6 years 1 month ago)
Author:Paul Cercueil
Commit:6a9f429f32471632504d52f042bd506bbd72d360
Message:Update "exec" to aim the binary if a change of directory if needed

Files: src/linkapp.cpp (1 diff)

Change Details

src/linkapp.cpp
471471        chdir(opkMount.c_str());
472472        exec = opkMount + exec;
473473    }
474#endif
475474
475#else
476476    //Set correct working directory
477477    string::size_type pos = exec.rfind("/");
478478    if (pos != string::npos) {
479479        string wd = exec.substr(0, pos + 1);
480480        chdir(wd.c_str());
481        exec = exec.substr(pos + 1);
481482    }
483#endif
482484
483485    //selectedFile
484486    if (selectedFile!="") {

Archive Download the corresponding diff file



interactive