From 124650b8c4e6a58ed63ac2df86b1e8b1fda99d6e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 18 Mar 2006 19:47:24 +0000 Subject: Make successful inherit calls return success so that \'source ${EBUILD}` returns success when an ebuild calls inherit last. svn path=/main/trunk/; revision=2940 --- bin/ebuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 92f8ca1e9..40c788a88 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1217,7 +1217,8 @@ inherit() { shift done - ((--ECLASS_DEPTH)) + ((--ECLASS_DEPTH)) # Returns 1 when ECLASS_DEPTH reaches 0. + return 0 } # Exports stub functions that call the eclass's functions, thereby making them default. -- cgit v1.2.3-1-g7c22