From 28461d7890d7bd7794dcdd01dfba2f5108ab90f0 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Tue, 28 Nov 2023 11:44:05 +1100 Subject: [PATCH] Fix handling of extract --- sysa/helpers.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sysa/helpers.sh b/sysa/helpers.sh index 3ee9e2d..b80e205 100755 --- a/sysa/helpers.sh +++ b/sysa/helpers.sh @@ -199,6 +199,7 @@ build() { cd "${SOURCES}" unset -f src_unpack src_prepare src_configure src_compile src_install src_postprocess + unset extract } interpret_source_line() { @@ -231,12 +232,6 @@ default_src_get() { # Intelligently extracts a file based upon its filetype. extract_file() { f="${3:-$(basename "${1}")}" - if test $# -gt 3; then - shift 3 - extract="$*" - else - extract= - fi # shellcheck disable=SC2154 case "${noextract}" in *${f}*)