From: Fabian Groffen Date: Wed, 18 Mar 2009 10:40:54 +0000 (-0000) Subject: remove eprefixify, its is now in prefix.eclass X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7616242814939c82f2029e1bf072167837d3d983;p=portage.git remove eprefixify, its is now in prefix.eclass svn path=/main/branches/prefix/; revision=13132 --- diff --git a/bin/eprefixify b/bin/eprefixify deleted file mode 100755 index 835e785dc..000000000 --- a/bin/eprefixify +++ /dev/null @@ -1,40 +0,0 @@ -#!@PORTAGE_BASH@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -# Fabian Groffen -# replaces @GENTOO_PORTAGE_EPREFIX@ with EPREFIX for the given files - -if [[ $# -lt 1 ]] ; then - echo "$0: at least one argument needed" 1>&2 - exit 1 -fi - -source "${PORTAGE_BIN_PATH}/isolated-functions.sh" -case "${NOCOLOR:-false}" in - yes|true) - unset_colors - ;; - no|false) - set_colors - ;; -esac - -ret=0 - -einfo "Adjusting to prefix" -for x in "$@" ; do - if [[ -e ${x} ]] ; then - ebegin " ${x##*/}" - sed -i -e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}|g" "${x}" - r=$? - eend $r - ((ret+=$r)) - else - eerror "${0##*/}: ${x} does not exist" - false - fi -done - -exit ${ret}