configure: do not assume GNU tar -J to decompress archive

This commit is contained in:
Lephenixnoir 2021-03-18 14:22:19 +01:00
parent cdc1ac5da9
commit b241b246ea
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -47,10 +47,10 @@ else
fi
fi
# Extract archive
# Extract archive (openBSD-compliant version)
echo "$TAG Extracting $ARCHIVE..."
tar -xJf $ARCHIVE
unxz -c < $ARCHIVE | tar -xf -
# Create build folder