+ fix launcher for XR20

This commit is contained in:
kelson42 2013-05-07 16:18:18 +02:00
parent f83a5372fb
commit c0f54fb24c

View File

@ -46,8 +46,11 @@ int main(int argc, char *argv[])
// exist if xulrunner can't be found
if (!fileExists(xulrunner_path)) {
perror("Unable to find xulrunner-bin binary");
return EXIT_FAILURE;
xulrunner_path = computeAbsolutePath(cwd, "xulrunner/xulrunner");
if (!fileExists(xulrunner_path)) {
perror("Unable to find neither the 'xulrunner-bin' nor the 'xulrunner' binary");
return EXIT_FAILURE;
}
}
// execute xulrunner