forked from josch/mmdebstrap
be more permissive in the FAKECHROOT_DETECT version format
This commit is contained in:
parent
631b103ca7
commit
c7390f648b
1 changed files with 1 additions and 1 deletions
|
@ -4591,7 +4591,7 @@ sub main() {
|
||||||
my $content = do { local $/; <$rfh> };
|
my $content = do { local $/; <$rfh> };
|
||||||
waitpid $pid, 0;
|
waitpid $pid, 0;
|
||||||
my $result = 0;
|
my $result = 0;
|
||||||
if ($? == 0 and $content =~ /^fakechroot \d\.\d+$/) {
|
if ($? == 0 and $content =~ /^fakechroot [0-9.]+$/) {
|
||||||
$result = 1;
|
$result = 1;
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
|
|
Loading…
Reference in a new issue