Kaydet (Commit) 34cf5372 authored tarafından Ingo Schmidt's avatar Ingo Schmidt

#i10633# admin.pl support for msidb.exe next to admin.pl

üst faf0b92d
...@@ -160,7 +160,9 @@ sub check_local_msidb ...@@ -160,7 +160,9 @@ sub check_local_msidb
my $msidbname = "msidb.exe"; my $msidbname = "msidb.exe";
my $perlprogramm = $0; my $perlprogramm = $0;
my $path = $perlprogramm; my $path = $perlprogramm;
get_path_from_fullqualifiedname(\$path); get_path_from_fullqualifiedname(\$path);
$path =~ s/\\\s*$//; $path =~ s/\\\s*$//;
$path =~ s/\/\s*$//; $path =~ s/\/\s*$//;
...@@ -413,7 +415,7 @@ sub get_path_from_fullqualifiedname ...@@ -413,7 +415,7 @@ sub get_path_from_fullqualifiedname
if ( $$longfilenameref =~ /\Q$separator\E/ ) # Is there a separator in the path? Otherwise the path is empty. if ( $$longfilenameref =~ /\Q$separator\E/ ) # Is there a separator in the path? Otherwise the path is empty.
{ {
if ( $$longfilenameref =~ /^\s*(\S.*\S\Q$separator\E)(\S.+\S?)/ ) if ( $$longfilenameref =~ /^\s*(\S.*\Q$separator\E)(\S.+\S?)/ )
{ {
$$longfilenameref = $1; $$longfilenameref = $1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment