diff --git a/common/environment/setup/archive.sh b/common/environment/setup/archive.sh index 2f84d0afacb..57414ff8a11 100644 --- a/common/environment/setup/archive.sh +++ b/common/environment/setup/archive.sh @@ -160,8 +160,10 @@ vsrcextract() { break ;; esac done + local archive="$1" + shift vextract "$sc" ${dst:+-C "$dst"} \ - "${XBPS_SRCDISTDIR}/${pkgname}-${version}/$1" + "${XBPS_SRCDISTDIR}/${pkgname}-${version}/$archive" "$@" } vtar() {