diff options
| -rw-r--r-- | eclass/kde4-meta.eclass | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass index f908bc72edc..0b8897f49c5 100644 --- a/eclass/kde4-meta.eclass +++ b/eclass/kde4-meta.eclass @@ -245,15 +245,13 @@ kde4-meta_src_extract() { extractlist+=" $(__list_needed_subdirectories)" pushd "${WORKDIR}" > /dev/null - local tarmsgcommand + [[ -n ${KDE4_STRICTER} ]] && echo tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} if [[ ${I_KNOW_WHAT_I_AM_DOING} ]]; then - tarmsgcommand=ewarn + # to make the devs happy - bug 338397 + tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} || ewarn "tar extract command failed at least partially - continuing anyway" else - tarmsgcommand=einfo + tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} 2> /dev/null || echo "tar extract command failed at least partially - continuing anyway" fi - [[ -n ${KDE4_STRICTER} ]] && echo tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} - tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} || ${tarmsgcommand} "tar extract command failed at least partially - continuing anyway" - unset tarmsgcommand # Default $S is based on $P; rename the extracted directory to match $S if necessary mv ${topdir} ${P} || die "Died while moving \"${topdir}\" to \"${P}\"" |
