fix profile finding for linux firefox.

This commit is contained in:
cltbld 2004-09-24 23:03:45 +00:00
parent 1b4e18fda8
commit d112718393

View File

@ -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)."/";