From 0db7670783253822aca6086cdee6686ec1353202 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Fri, 25 Nov 2011 13:03:54 -0500 Subject: [PATCH] tools: check if tar supports J option --- extras/tools/bootstrap | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap index 9a185ebd0f..56d1b7819b 100755 --- a/extras/tools/bootstrap +++ b/extras/tools/bootstrap @@ -30,6 +30,11 @@ then echo "$1 not found" NEEDED="$NEEDED .$1" else + if [ "$1" = "xz" ] && ! tar PcJ /dev/null >/dev/null + then + echo "tar doesn't support xz (J option)" + NEEDED="$NEEDED .tar" + fi # found, need to check version ? [ -z "$2" ] && return # no # we only check GNU tools, their version have the form MAJOR.MINOR -- 2.39.2