vsrcextract: drop the heuristic to prefer tar over bsdtar
Only kexec-tools has problem with bsdtar, the heuristic is problematic with those packages with tar in hostmakedepends
This commit is contained in:
parent
baf23c3577
commit
fe0d548527
2 changed files with 4 additions and 6 deletions
|
@ -26,15 +26,11 @@ vextract() {
|
|||
esac
|
||||
done
|
||||
|
||||
local TAR_CMD sfx
|
||||
local TAR_CMD="${tar_cmd}"
|
||||
local sfx
|
||||
local archive="$1"
|
||||
local ret=0
|
||||
|
||||
# When tar is explicitly put *first* in hostmakedepends
|
||||
# Some packages require tar to build but not for extraction
|
||||
case "$hostmakedepends " in
|
||||
"tar "*) TAR_CMD="tar" ;;
|
||||
esac
|
||||
[ -z "$TAR_CMD" ] && TAR_CMD="$(command -v bsdtar)"
|
||||
[ -z "$TAR_CMD" ] && TAR_CMD="$(command -v tar)"
|
||||
[ -z "$TAR_CMD" ] && msg_error "xbps-src: no suitable tar cmd (bsdtar, tar)\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue