mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
fix profile finding for linux firefox.
This commit is contained in:
parent
1b4e18fda8
commit
d112718393
@ -24,7 +24,7 @@ use Config; # for $Config{sig_name} and $Config{sig_num}
|
||||
use File::Find ();
|
||||
use File::Copy;
|
||||
|
||||
$::UtilsVersion = '$Revision: 1.273 $ ';
|
||||
$::UtilsVersion = '$Revision: 1.274 $ ';
|
||||
|
||||
package TinderUtils;
|
||||
|
||||
@ -1126,8 +1126,8 @@ sub get_profile_dir {
|
||||
} else {
|
||||
# *nix
|
||||
if ($Settings::VendorName) {
|
||||
$profile_dir = "$build_dir/.".lc($Settings::VendorName)."/".lc($Settings::ProductName)."/$Settings::MozProfileName";
|
||||
($profile_dir) = <$profile_dir*>;
|
||||
$profile_dir = "$build_dir/.".lc($Settings::VendorName)."/".lc($Settings::ProductName)."/";
|
||||
($profile_dir) = <$profile_dir . "*" . $Settings::MozProfileName . "*">;
|
||||
}
|
||||
else {
|
||||
$profile_dir = "$build_dir/.".lc($Settings::ProductName)."/";
|
||||
|
Loading…
Reference in New Issue
Block a user