logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 28461d7890d7bd7794dcdd01dfba2f5108ab90f0
parent fee61755046913c5034c046edc2c652f068a50f3
Author: fosslinux <fosslinux@aussies.space>
Date:   Tue, 28 Nov 2023 11:44:05 +1100

Fix handling of extract

Diffstat:

Msysa/helpers.sh7+------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git 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}*)