s3:wscript: fix flex and bison detection message when not installed
authorRalph Boehme <slow@samba.org>
Fri, 29 Mar 2019 17:20:52 +0000 (18:20 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 24 Apr 2019 18:32:14 +0000 (18:32 +0000)
commitf52e4020653a3848efef47424e21481ed18d3935
tree713c8f9b03408fa51765e89f3ff8834998dcf341
parentf79acc51a5f45da3936886eaec7b635e70ad4540
s3:wscript: fix flex and bison detection message when not installed

If flex or bison are not installed, conf.env['BISON'] and
conf.env['FLEX'] respectively return an empty string, so
conf.CHECK_COMMAND() runs

 $ /bin/sh -c " --version  | head -n1"

and

 $ /bin/sh -c " --version"

which results in the following message

  /bin/sh: []: command not found

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
source3/wscript