summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2012-11-11 10:21:05 -0800
committerThomas Kahle <tomka@gentoo.org>2012-11-11 10:21:05 -0800
commitafa35b81571b09afaaf819c45f7d904140d6269b (patch)
tree5ac8279737328cde5aa41f5201f1ff90cbeb8d55
parentMake use test scripts check if emerge failed with REQUIRED_USE not satisfied (diff)
downloadtatt-afa35b81571b09afaaf819c45f7d904140d6269b.tar.gz
tatt-afa35b81571b09afaaf819c45f7d904140d6269b.tar.bz2
tatt-afa35b81571b09afaaf819c45f7d904140d6269b.zip
In case of error, let USE script print error messages.
-rw-r--r--templates/use-snippet1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/use-snippet b/templates/use-snippet
index 1f9581d..828320a 100644
--- a/templates/use-snippet
+++ b/templates/use-snippet
@@ -4,5 +4,6 @@ if [[ $? == 0 ]] ; then
elif [[ "${eout}" =~ REQUIRED_USE ]] ; then
echo "@@USE@@ : REQUIRED_USE not satisfied (probably)" >> @@REPORTFILE@@;
else
+ echo "${eout}";
echo "@@USE@@ @@FEATURES@@ failed for @@CPV@@" >> @@REPORTFILE@@;
fi;