remove eprefixify, its is now in prefix.eclass
authorFabian Groffen <grobian@gentoo.org>
Wed, 18 Mar 2009 10:40:54 +0000 (10:40 -0000)
committerFabian Groffen <grobian@gentoo.org>
Wed, 18 Mar 2009 10:40:54 +0000 (10:40 -0000)
svn path=/main/branches/prefix/; revision=13132

bin/eprefixify [deleted file]

diff --git a/bin/eprefixify b/bin/eprefixify
deleted file mode 100755 (executable)
index 835e785..0000000
+++ /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 <grobian@gentoo.org>
-# 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}