commit: 042deed5e5b77aa13271b2ccd78a331421377187
parent e6d4eccd41b3f530a4b875faed6aa2958adbcb56
Author: fosslinux <fosslinux@aussies.space>
Date: Mon, 10 Oct 2022 22:23:04 +1100
Fix extract-only for old tar
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sysa/helpers.sh b/sysa/helpers.sh
@@ -241,16 +241,16 @@ extract_file() {
if test -e "${PREFIX}/libexec/rmt"; then
# Again, we want to split out into words.
# shellcheck disable=SC2086
- tar --no-same-owner -xf "${DISTFILES}/${f}" -- ${extract}
+ tar --no-same-owner -xf "${DISTFILES}/${f}" ${extract}
else
# shellcheck disable=SC2086
case "${f}" in
- *.tar.gz) tar -xzf "${DISTFILES}/${f}" -- ${extract} ;;
+ *.tar.gz) tar -xzf "${DISTFILES}/${f}" ${extract} ;;
*.tar.bz2)
# Initial bzip2 built against meslibc has broken pipes
- bzip2 -dc "${DISTFILES}/${f}" | tar -xf - -- ${extract} ;;
+ bzip2 -dc "${DISTFILES}/${f}" | tar -xf - ${extract} ;;
*.tar.xz)
- tar -xf "${DISTFILES}/${f}" --use-compress-program=xz -- ${extract} ;;
+ tar -xf "${DISTFILES}/${f}" --use-compress-program=xz ${extract} ;;
esac
fi
;;