Bug #294886 - Show some basic info at the beginning of the build log,
authorZac Medico <zmedico@gentoo.org>
Fri, 27 Nov 2009 23:01:35 +0000 (23:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 27 Nov 2009 23:01:35 +0000 (23:01 -0000)
including USE flags.

svn path=/main/trunk/; revision=14907

bin/ebuild.sh

index c99e5402250a6eb8db4d6e9277d97b9726c3bfe5..1a1f3e1039bb08b6f3b663614140a79cd43a3df1 100755 (executable)
@@ -2056,6 +2056,11 @@ ebuild_main() {
                export SANDBOX_ON="0"
                ;;
        help|pretend|setup|preinst)
+               if [[ $EBUILD_SH_ARGS = setup ]] ; then
+                       einfo "CPV:  $CATEGORY/$PF"
+                       einfo "REPO: $PORTAGE_REPO_NAME"
+                       einfo "USE:  $USE"
+               fi
                #pkg_setup needs to be out of the sandbox for tmp file creation;
                #for example, awking and piping a file in /tmp requires a temp file to be created
                #in /etc.  If pkg_setup is in the sandbox, both our lilo and apache ebuilds break.