Remove the -x check on the absolute path to xpcshell. In Perl 5.005 on Windows, the -x operator returns |false| on absolute paths, even if they are valid.

This commit is contained in:
pschwartau%netscape.com 2002-10-12 02:43:17 +00:00
parent 6a0dad6ae6
commit 640f5875cf

View File

@ -606,11 +606,6 @@ sub get_xpc_engine_command {
$m5_home .= "/";
}
if (($os_type ne "MAC") && !(-x &xp_path($m5_home . "xpcshell"))) {
# mac doesn't seem to deal with -x correctly
die (&xp_path($m5_home . "xpcshell") . " is not a valid executable on this system.\n");
}
return &xp_path($m5_home . "xpcshell");
}