From: Mike Frysinger Date: Wed, 6 Sep 2006 04:52:15 +0000 (-0000) Subject: make .compiled warning the same helpful format as .installed X-Git-Tag: v2.1.1~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c9a7a40f4f416200b6a00d0df6c7f1a8a117882;p=portage.git make .compiled warning the same helpful format as .installed svn path=/main/trunk/; revision=4412 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index d2a40c350..abfc898cf 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -915,9 +915,9 @@ dyn_compile() { fi cp "${EBUILD}" "build-info/${PF}.ebuild" - if [ "${PORTAGE_BUILDDIR}/.compiled" -nt "${WORKDIR}" ]; then - vecho ">>> It appears that ${PN} is already compiled; skipping." - vecho ">>> (clean to force compilation)" + if [[ ${PORTAGE_BUILDDIR}/.compiled -nt ${WORKDIR} ]] ; then + vecho ">>> It appears that '${PF}' is already compiled; skipping." + vecho ">>> Remove '${PORTAGE_BUILDDIR}/.compiled' to force install." trap SIGINT SIGQUIT [ "$(type -t post_src_compile)" == "function" ] && post_src_compile return