diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-08-31 19:54:19 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-08-31 19:54:19 -0700 |
commit | d7579ecd27ca051d7f987102caeb53e826a6fe93 (patch) | |
tree | b1192edbeeffea84b8817522c5e7697100163a8f /bin/ebuild-helpers/dosed | |
parent | ce501b36d7078db059c606d3b4f38637ad09528e (diff) | |
download | portage-d7579ecd27ca051d7f987102caeb53e826a6fe93.tar.gz portage-d7579ecd27ca051d7f987102caeb53e826a6fe93.tar.bz2 portage-d7579ecd27ca051d7f987102caeb53e826a6fe93.zip |
Revert "xml/metadata: implement XMLParser.doctype()"
This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e.
This commit had lots of unintended changes included.
Diffstat (limited to 'bin/ebuild-helpers/dosed')
-rwxr-xr-x | bin/ebuild-helpers/dosed | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/ebuild-helpers/dosed b/bin/ebuild-helpers/dosed index 00cf5da17..afc949ba5 100755 --- a/bin/ebuild-helpers/dosed +++ b/bin/ebuild-helpers/dosed @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 if [[ $# -lt 1 ]] ; then @@ -7,14 +7,12 @@ if [[ $# -lt 1 ]] ; then exit 1 fi -case "$EAPI" in 0|1|2) ED=${D} ;; esac - ret=0 file_found=0 -mysed="s:${ED}::g" +mysed="s:${D}::g" for x in "$@" ; do - y=$ED${x#/} + y=$D${x#/} if [ -e "${y}" ] ; then if [ -f "${y}" ] ; then file_found=1 |