summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/kde4-meta.eclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass
index 8e886208c4f..f908bc72edc 100644
--- a/eclass/kde4-meta.eclass
+++ b/eclass/kde4-meta.eclass
@@ -245,8 +245,15 @@ kde4-meta_src_extract() {
extractlist+=" $(__list_needed_subdirectories)"
pushd "${WORKDIR}" > /dev/null
+ local tarmsgcommand
+ if [[ ${I_KNOW_WHAT_I_AM_DOING} ]]; then
+ tarmsgcommand=ewarn
+ else
+ tarmsgcommand=einfo
+ fi
[[ -n ${KDE4_STRICTER} ]] && echo tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist}
- tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} || ewarn "tar extract command failed at least partially - continuing anyway"
+ 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}\""