forked from mirrors/nixpkgs
nixos/test-driver: Fix bashism in Machine.pm.
Thanks to @bjornfor for the note. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
f12208c5a4
commit
2475a6a239
|
@ -499,7 +499,7 @@ sub screenshot {
|
|||
sub getScreenText {
|
||||
my ($self) = @_;
|
||||
|
||||
system("type -P tesseract &> /dev/null") == 0
|
||||
system("command -v tesseract &> /dev/null") == 0
|
||||
or die "getScreenText used but enableOCR is false";
|
||||
|
||||
my $text;
|
||||
|
|
Loading…
Reference in a new issue