mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Only allow a version number to be read from "/etc/debian_version"
This commit is contained in:
@ -1626,7 +1626,7 @@ sub environment_setup () {
|
|||||||
my $deb_version;
|
my $deb_version;
|
||||||
if ( $opt_valgrind and -d $debug_libraries_path and
|
if ( $opt_valgrind and -d $debug_libraries_path and
|
||||||
(! -e '/etc/debian_version' or
|
(! -e '/etc/debian_version' or
|
||||||
($deb_version= mtr_grab_file('/etc/debian_version')) == 0 or
|
($deb_version= mtr_grab_file('/etc/debian_version')) !~ /^[0-9]+\.[0-9]$/ or
|
||||||
$deb_version > 3.1 ) )
|
$deb_version > 3.1 ) )
|
||||||
{
|
{
|
||||||
push(@ld_library_paths, $debug_libraries_path);
|
push(@ld_library_paths, $debug_libraries_path);
|
||||||
|
Reference in New Issue
Block a user