fix profile finding for linux firefox.
This commit is contained in:
Родитель
712bc9520f
Коммит
f817b06d84
|
@ -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)."/";
|
||||
|
|
Загрузка…
Ссылка в новой задаче