From 5bb9687bf253632f0402b035a3ca4035296f670d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 20 Apr 2006 18:06:37 +0000 Subject: [PATCH] Add and "other" EBUILD_PHASE for bug #127585. Thanks to Patrick Avery for this patch. svn path=/main/trunk/; revision=3178 --- bin/isolated-functions.sh | 2 +- pym/portage_const.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 3a004a15f..40b846eb0 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -16,7 +16,7 @@ elog_base() { return 1 ;; esac - echo "$*" >> ${T}/logging/${EBUILD_PHASE}.${messagetype} + echo "$*" >> ${T}/logging/${EBUILD_PHASE:-other}.${messagetype} return 0 } diff --git a/pym/portage_const.py b/pym/portage_const.py index dc523b879..9a8f03f85 100644 --- a/pym/portage_const.py +++ b/pym/portage_const.py @@ -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 -- 2.26.2