support/dependencies: treat BSD-tar like the other cases
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 17 Nov 2018 17:15:49 +0000 (18:15 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 24 Nov 2018 14:14:50 +0000 (15:14 +0100)
commitc3af08639505ca826f0d005eedc863d73c95daff
treebaa9d9a02c66d6fee07204c799f265647b1a6e01
parentb122623145a963d009e105131d0eeac099c3759b
support/dependencies: treat BSD-tar like the other cases

Currently, when we detect that tar is BSD-tar, we fake an unsupported
version (major, minor) and rely on the version check to reject BSD-tar.

There is no reason to use such shenanigans, when we can simply reject it
from the onset.

Simplify the logic:
  - use positive logic in the condition
  - directly exit in error

Also, comment that case like the other cases are commented.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/dependencies/check-host-tar.sh