diff options
| author | Andreas K. Huettel (dilfridge) <mail@akhuettel.de> | 2011-01-12 22:17:02 +0100 |
|---|---|---|
| committer | Andreas K. Huettel (dilfridge) <mail@akhuettel.de> | 2011-01-12 22:17:02 +0100 |
| commit | ab006ba0212edfab7db1ae360d48d0386bc3f152 (patch) | |
| tree | b2ab2ada13bdc91ee6fd39132cd06e41be64c85e /eclass/kde4-meta.eclass | |
| parent | 606c77e42a4eadc64ffbf70a3117450fc69d8694 (diff) | |
| download | kde-ab006ba0212edfab7db1ae360d48d0386bc3f152.tar.gz kde-ab006ba0212edfab7db1ae360d48d0386bc3f152.tar.bz2 kde-ab006ba0212edfab7db1ae360d48d0386bc3f152.zip | |
[eclass] Next version- devs get ewarn and stderr, everyone else just a single echo
Diffstat (limited to 'eclass/kde4-meta.eclass')
| -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}\"" |
