mirror of
https://github.com/fspc/dswim.git
synced 2025-02-21 08:04:27 -05:00
Things are now put below the default_directory.
This commit is contained in:
parent
52ebd92ce2
commit
c5d46af4cd
6
swim
6
swim
@ -93,6 +93,8 @@ BEGIN {
|
||||
$ENV{'PATH'} = "/usr/sbin:" . $ENV{'PATH'};
|
||||
}
|
||||
|
||||
$main::home = $ENV{'HOME'};
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -347,8 +349,8 @@ sub command {
|
||||
|
||||
# this will handle options with arguments
|
||||
|
||||
$main::home = $ENV{'HOME'};
|
||||
home_builder("$main::home$parent$base/info");
|
||||
home_builder("$default_directory$parent$base/info");
|
||||
$main::home = $default_directory;
|
||||
|
||||
if ($Getopt::Long::error == 1 || $commands{"root"} ||
|
||||
$commands{"dbpath"}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user