Changed unpacking of klibc to use tar j instead of tar z.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@366 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 19 years ago
parent 7d4dcbcb0a
commit 756d433523

@ -774,7 +774,7 @@ compile_klibc() {
rm -rf "${KLIBC_DIR}" klibc-build rm -rf "${KLIBC_DIR}" klibc-build
[ ! -f "${KLIBC_SRCTAR}" ] && [ ! -f "${KLIBC_SRCTAR}" ] &&
gen_die "Could not find klibc tarball: ${KLIBC_SRCTAR}" gen_die "Could not find klibc tarball: ${KLIBC_SRCTAR}"
/bin/tar zxpf "${KLIBC_SRCTAR}" || /bin/tar jxpf "${KLIBC_SRCTAR}" ||
gen_die 'Could not extract klibc tarball' gen_die 'Could not extract klibc tarball'
[ ! -d "${KLIBC_DIR}" ] && [ ! -d "${KLIBC_DIR}" ] &&
gen_die "klibc tarball ${KLIBC_SRCTAR} is invalid" gen_die "klibc tarball ${KLIBC_SRCTAR} is invalid"

Loading…
Cancel
Save