mirror of
https://github.com/fspc/dswim.git
synced 2025-02-22 08:33:24 -05:00
Puts history files in the $main::home directory.
This commit is contained in:
parent
171f5643e5
commit
7f3c8841e3
@ -65,11 +65,11 @@ sub finddb {
|
|||||||
if (($commands->{"dbpath"} && $commands->{"root"}) ||
|
if (($commands->{"dbpath"} && $commands->{"root"}) ||
|
||||||
($commands->{"dbpath"} && !$commands->{"root"}) ||
|
($commands->{"dbpath"} && !$commands->{"root"}) ||
|
||||||
(!$commands->{"dbpath"} && !$commands->{"root"})) {
|
(!$commands->{"dbpath"} && !$commands->{"root"})) {
|
||||||
$fileplace = "$parent$library";
|
$fileplace = "$main::home$parent$library";
|
||||||
return $fileplace;
|
return $fileplace;
|
||||||
}
|
}
|
||||||
elsif (!$commands->{"dbpath"} && $commands->{"root"}) {
|
elsif (!$commands->{"dbpath"} && $commands->{"root"}) {
|
||||||
$fileplace = "$parent$base";
|
$fileplace = "$main::home$parent$base";
|
||||||
return $fileplace;
|
return $fileplace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user