summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2007-02-21 20:49:45 +0000
committerDaniel Black <dragonheart@gentoo.org>2007-02-21 20:49:45 +0000
commit020f5e5c4e1a5bc4a8a25132af0ce4c9db2d532b (patch)
treeb6a6b60e93da0b2f5b98b2a5a1d7e72b49d90cd5 /eclass
parentTransition to Manifest2. (diff)
downloadgentoo-2-020f5e5c4e1a5bc4a8a25132af0ce4c9db2d532b.tar.gz
gentoo-2-020f5e5c4e1a5bc4a8a25132af0ce4c9db2d532b.tar.bz2
gentoo-2-020f5e5c4e1a5bc4a8a25132af0ce4c9db2d532b.zip
cleaned up error messages
Diffstat (limited to 'eclass')
-rw-r--r--eclass/savedconfig.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass
index b1b62b4d87ec..4de1bc9b15b4 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.3 2007/02/05 09:55:22 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.4 2007/02/21 20:49:45 dragonheart Exp $
# Original Author: Daniel Black <dragonheart@gentoo.org>
#
@@ -105,6 +105,7 @@ restore_config() {
die "do not know how to handle non-file/directory ${found}"
else
eerror "No saved config to restore - please remove USE=saveconfig or"
- die "provide a configuration file in ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/${CATEGORY}/${PN}"
+ eerror "provide a configuration file in ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/${CATEGORY}/${PN}"
+ die "config file needed when USE=savedconfig is specified"
fi
}