aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-13 11:59:37 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-13 11:59:37 +0000
commit8c38f2252522640e67497ead3d68369e47ad3c92 (patch)
tree13ae8b50bd06ad0020b068dcbade85ce4ea67e14
parentb7e7ad11a42ac8b99e2e5284528373693ddf6dab (diff)
downloadpaludis-8c38f2252522640e67497ead3d68369e47ad3c92.tar.gz
paludis-8c38f2252522640e67497ead3d68369e47ad3c92.tar.xz
Give a more verbose error for EAPI=UNKNOWN
-rw-r--r--src/clients/paludis/install.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/clients/paludis/install.cc b/src/clients/paludis/install.cc
index 795b343..1a344b3 100644
--- a/src/clients/paludis/install.cc
+++ b/src/clients/paludis/install.cc
@@ -544,7 +544,11 @@ do_install()
pp->repository)->version_metadata(
pp->name, pp->version)->eapi);
- cerr << " ( " << colour(cl_masked, eapi_str) << " )";
+ if (eapi_str == "UNKNOWN")
+ cerr << " ( " << colour(cl_masked, eapi_str) <<
+ " ) (probably a broken ebuild)";
+ else
+ cerr << " ( " << colour(cl_masked, eapi_str) << " )";
}
else if (mr_license == mm)
{