summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-11 15:19:50 +0000
committerMike Frysinger <vapier@gentoo.org>2009-04-11 15:19:50 +0000
commit3cb62d6f512fe024482d7f9ffbca2204947c0e60 (patch)
treeae0c9c053cc219f999ec5a0f5f57bb746c77dc39 /eclass
parentForce data/init dir sanity #265636 by Jeremy Stent. (diff)
downloadgentoo-2-3cb62d6f512fe024482d7f9ffbca2204947c0e60.tar.gz
gentoo-2-3cb62d6f512fe024482d7f9ffbca2204947c0e60.tar.bz2
gentoo-2-3cb62d6f512fe024482d7f9ffbca2204947c0e60.zip
allow src_prepare to use restore_config #265745 by Michał Górny
Diffstat (limited to 'eclass')
-rw-r--r--eclass/savedconfig.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass
index 60e7af2471c5..b347b8c861f2 100644
--- a/eclass/savedconfig.eclass
+++ b/eclass/savedconfig.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.9 2008/03/20 16:23:42 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.10 2009/04/11 15:19:50 vapier Exp $
# @ECLASS: savedconfig.eclass
# @MAINTAINER:
@@ -80,9 +80,9 @@ restore_config() {
use savedconfig || return
case ${EBUILD_PHASE} in
- unpack|compile)
+ unpack|compile|prepare)
;;
- *) die "Bad package! restore_config only for use in src_unpack or src_compile functions!"
+ *) die "Bad package! restore_config only for use in src_{unpack,compile,prepare} functions!"
;;
esac
local found;