Skip to content

Commit 103754c

Browse files
author
Akhil Mohan
committed
BUG 19363801 Added Debian Ubuntu specific path for INFO files
2 parents a115478 + 3aa9354 commit 103754c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

mysql-test/t/file_contents.test

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ if ($dir_bin =~ m|/usr/|) {
2525
if (! -d "$dir_docs") {
2626
# If not it might be ULN so try that
2727
$dir_docs = glob "$dir_bin/share/doc/mysql-*-server*";
28+
if (! -f "$dir_docs/INFO_BIN") {
29+
# Debian/ Ubuntu
30+
$dir_docs = glob "$dir_bin/share/mysql/docs";
31+
}
2832
}
2933
}
3034
} elsif ($dir_bin =~ m|/usr$|) {
@@ -39,6 +43,10 @@ if ($dir_bin =~ m|/usr/|) {
3943
if (! -d "$dir_docs") {
4044
# If not it might be ULN so try that
4145
$dir_docs = glob "$dir_bin/share/doc/mysql-*-server*";
46+
if (! -f "$dir_docs/INFO_BIN") {
47+
# Debian/ Ubuntu
48+
$dir_docs = glob "$dir_bin/share/mysql/docs";
49+
}
4250
}
4351
}
4452
} else {

0 commit comments

Comments
 (0)