Make successful inherit calls return success so that \'source ${EBUILD}` returns...
authorZac Medico <zmedico@gentoo.org>
Sat, 18 Mar 2006 19:47:24 +0000 (19:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 18 Mar 2006 19:47:24 +0000 (19:47 -0000)
svn path=/main/trunk/; revision=2940

bin/ebuild.sh

index 92f8ca1e9eb1a5d39e6e5221f58f302cd3d7b679..40c788a8835725948464e456a4ceb4d4d4016db6 100755 (executable)
@@ -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.