pkgmeek: rewrote unpack_source() to avoid failures with libarchive locale conversion
This commit is contained in:
parent
b31c7493a3
commit
608860f62c
@ -142,7 +142,7 @@ if [ "$pkg_utd" = 0 ] || [ "$PKGMK_FORCE" = "yes" ]; then
|
||||
here="${_local_[$u]}"
|
||||
case "$here" in
|
||||
*.tar|*.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tbz2|*.tar.xz|*.txz|*.tar.lzma|*.tar.lz|*.zip|*.rpm)
|
||||
bsdtar -p -o -C src -xf "$here" || errUZ+=1 ;;
|
||||
tar -C src --no-same-owner -paxf "$here" || errUZ+=1 ;;
|
||||
*)
|
||||
cp -r "$here" src/ ;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user