Add and "other" EBUILD_PHASE for bug #127585. Thanks to Patrick Avery <pyromancer...
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Apr 2006 18:06:37 +0000 (18:06 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Apr 2006 18:06:37 +0000 (18:06 -0000)
svn path=/main/trunk/; revision=3178

bin/isolated-functions.sh
pym/portage_const.py

index 3a004a15f6cd704150d554df5091ee11930f7ef8..40b846eb0289da63f821eb40c6ace33bbf5517b5 100644 (file)
@@ -16,7 +16,7 @@ elog_base() {
                        return 1
                        ;;
        esac
-       echo "$*" >> ${T}/logging/${EBUILD_PHASE}.${messagetype}
+       echo "$*" >> ${T}/logging/${EBUILD_PHASE:-other}.${messagetype}
        return 0
 }
 
index dc523b8791dd22025edac0ced2c1bfc32f632a9f..9a8f03f85f7907bf1a8b703610a66043dd7f7042 100644 (file)
@@ -43,7 +43,8 @@ COLOR_MAP_FILE          = USER_CONFIG_PATH + "/color.map"
 
 INCREMENTALS=["USE","USE_EXPAND","USE_EXPAND_HIDDEN","FEATURES","ACCEPT_KEYWORDS","ACCEPT_LICENSE","CONFIG_PROTECT_MASK","CONFIG_PROTECT","PRELINK_PATH","PRELINK_PATH_MASK"]
 STICKIES=["KEYWORDS_ACCEPT","USE","CFLAGS","CXXFLAGS","MAKEOPTS","EXTRA_ECONF","EXTRA_EINSTALL","EXTRA_EMAKE"]
-EBUILD_PHASES                  = ["setup","unpack","compile","test","install","preinst","postinst","prerm","postrm"]
+EBUILD_PHASES           = ["setup", "unpack", "compile", "test", "install",
+                          "preinst", "postinst", "prerm", "postrm", "other"]
 
 EAPI = 0