summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-11-16 21:37:14 +0000
committerFabian Groffen <grobian@gentoo.org>2009-11-16 21:37:14 +0000
commit61c3007d02101510ebae618ab428fe27a9de070d (patch)
treead6464ea5dd571f0d87314d59874f3d035a6c438 /eclass/prefix.eclass
parentMarked ~ppc for bug #285952. (diff)
downloadgentoo-2-61c3007d02101510ebae618ab428fe27a9de070d.tar.gz
gentoo-2-61c3007d02101510ebae618ab428fe27a9de070d.tar.bz2
gentoo-2-61c3007d02101510ebae618ab428fe27a9de070d.zip
eprefixify:
- fix wording in die message - try to make more sense for gx86 users what we're doing
Diffstat (limited to 'eclass/prefix.eclass')
-rw-r--r--eclass/prefix.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/prefix.eclass b/eclass/prefix.eclass
index 477ce55168b3..569ebf39fdfc 100644
--- a/eclass/prefix.eclass
+++ b/eclass/prefix.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: prefix.eclass,v 1.1 2009/04/02 17:36:53 grobian Exp $
+# $Id: prefix.eclass,v 1.2 2009/11/16 21:37:14 grobian Exp $
# @ECLASS: prefix.eclass
# @MAINTAINER:
@@ -31,9 +31,9 @@ fi
# dies if no arguments are given, a file does not exist, or changing a
# file failed.
eprefixify() {
- [[ $# -lt 1 ]] && die "at least one argument needed"
+ [[ $# -lt 1 ]] && die "at least one argument required"
- einfo "Adjusting to prefix"
+ einfo "Adjusting to prefix ${EPREFIX:-/}" \
local x
for x in "$@" ; do
if [[ -e ${x} ]] ; then