From: Zac Medico Date: Sat, 18 Mar 2006 19:47:24 +0000 (-0000) Subject: Make successful inherit calls return success so that \'source ${EBUILD}` returns... X-Git-Tag: v2.1_pre7~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=124650b8c4e6a58ed63ac2df86b1e8b1fda99d6e;p=portage.git Make successful inherit calls return success so that \'source ${EBUILD}` returns success when an ebuild calls inherit last. svn path=/main/trunk/; revision=2940 --- 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.