Ruta por defecto Appdata/Local/TEMP para crear idx en windows

Former-commit-id: 1aae49bf91e8ba8533f6ec2e13d7629cccf0f8d1
This commit is contained in:
ismael.moreno 2019-02-20 16:28:59 +01:00
parent 9419e68aef
commit 758ae438df

View File

@ -30,7 +30,7 @@ my $Output = 'module';
my $Verbose = 0; my $Verbose = 0;
# Index file storage directory, with a trailing '/' # Index file storage directory, with a trailing '/'
my $Idx_dir=($^O =~ /win/i)?'.\\':'/tmp/'; my $Idx_dir=($^O =~ /win/i)?"$ENV{'TMP'}\\":"/tmp/";
# Log file # Log file
my $Log_file = ''; my $Log_file = '';