|
|
@ -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;
|
|
|
|