make.sh: Explicitely call zstd to extract toolchain
Commit Message
Some older versions of tar do not recognise Zstandard, yet.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
make.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Thank you very much. :-)
Tested-by: Peter Müller <peter.mueller@ipfire.org>
> Some older versions of tar do not recognise Zstandard, yet.
>
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
> make.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/make.sh b/make.sh
> index 7bdeeaf62..13a48f461 100755
> --- a/make.sh
> +++ b/make.sh
> @@ -1735,7 +1735,7 @@ build)
> PACKAGENAME=${PACKAGE%.tar.zst}
> print_build_stage "Packaged toolchain compilation"
> if [ `md5sum $PACKAGE | awk '{print $1}'` == `cat $PACKAGENAME.md5 | awk '{print $1}'` ]; then
> - tar axf $PACKAGE
> + zstd -d < "${PACKAGE}" | tar x
> prepareenv
> else
> exiterror "$PACKAGENAME md5 did not match, check downloaded package"
>
@@ -1735,7 +1735,7 @@ build)
PACKAGENAME=${PACKAGE%.tar.zst}
print_build_stage "Packaged toolchain compilation"
if [ `md5sum $PACKAGE | awk '{print $1}'` == `cat $PACKAGENAME.md5 | awk '{print $1}'` ]; then
- tar axf $PACKAGE
+ zstd -d < "${PACKAGE}" | tar x
prepareenv
else
exiterror "$PACKAGENAME md5 did not match, check downloaded package"