make .compiled warning the same helpful format as .installed
authorMike Frysinger <vapier@gentoo.org>
Wed, 6 Sep 2006 04:52:15 +0000 (04:52 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 6 Sep 2006 04:52:15 +0000 (04:52 -0000)
svn path=/main/trunk/; revision=4412

bin/ebuild.sh

index d2a40c35015db0aeb9b20d4697cd5541c45a40e5..abfc898cf277f8bfb8a0fc63a672a3496f62e6c6 100755 (executable)
@@ -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