Skip to content

Commit 33d3d46

Browse files
committed
Fix to quotemeta when testing
1 parent fece227 commit 33d3d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uninstall.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ sub module_uninstall
3131
&read_file($brand_file, \%brand_info);
3232
if ($brand_info{'update'} &&
3333
$brand_info{'file'} &&
34-
$brand_info{'file'} =~ /$module_root_directory/) {
34+
$brand_info{'file'} =~ /\Q$module_root_directory\E/) {
3535
&unlink_file($brand_file);
3636
}
3737
}

0 commit comments

Comments
 (0)