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:
aszlig 2015-05-22 08:10:17 +02:00
parent f12208c5a4
commit 2475a6a239
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -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;