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

svn path=/main/branches/2.1.7/; revision=14908

bin/ebuild.sh

index 49f2ee72ea0775023bfefbbfbb7d31d60cb05c3a..0e497b55dcac2315771ea078ef9c662f1e5279fc 100755 (executable)
@@ -2048,6 +2048,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.