Merge branch 'master' into osxff29

pull/9/head
rgaudin 12 years ago
commit fa16bdc7b3

@ -47,7 +47,7 @@ int main(int argc, char *argv[]) {
/* Find xulrunner binary path */ /* Find xulrunner binary path */
string xulrunnerPath = computeAbsolutePath(xulrunnerDirectory, "xulrunner-bin"); string xulrunnerPath = computeAbsolutePath(xulrunnerDirectory, "xulrunner-bin");
if (!fileExists(xulrunnerPath)) { if (!fileExists(xulrunnerPath)) {
xulrunnerPath = computeAbsolutePath(executableDirectory, "xulrunner"); xulrunnerPath = computeAbsolutePath(xulrunnerDirectory, "xulrunner");
if (!fileExists(xulrunnerPath)) { if (!fileExists(xulrunnerPath)) {
perror("Unable to find neither the 'xulrunner-bin' nor the 'xulrunner' binary"); perror("Unable to find neither the 'xulrunner-bin' nor the 'xulrunner' binary");
return EXIT_FAILURE; return EXIT_FAILURE;
@ -62,7 +62,7 @@ int main(int argc, char *argv[]) {
cout << "Xulrunner path (xulrunnerPath): " << xulrunnerPath << endl; cout << "Xulrunner path (xulrunnerPath): " << xulrunnerPath << endl;
cout << "Application.ini path (applicationIniPath): " << applicationIniPath << endl; cout << "Application.ini path (applicationIniPath): " << applicationIniPath << endl;
*/ */
/* Modify environnement variables */ /* Modify environnement variables */
#ifdef _WIN32 #ifdef _WIN32
string sep = ";"; string sep = ";";

Loading…
Cancel
Save