summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-02-17 01:07:48 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-02-17 01:07:48 +0000
commit418afa0581c0b07916f3d75b25749f11dd8bfdb0 (patch)
tree548eea83d7456a6e3c05595534d69ea4e6d327b0 /eclass/vdr-plugin.eclass
parentDon't abuse $ROOT. (diff)
downloadgentoo-2-418afa0581c0b07916f3d75b25749f11dd8bfdb0.tar.gz
gentoo-2-418afa0581c0b07916f3d75b25749f11dd8bfdb0.tar.bz2
gentoo-2-418afa0581c0b07916f3d75b25749f11dd8bfdb0.zip
Not using ROOT for header-checksum, as compile-process also not respect ROOT, Bug #167285.
Diffstat (limited to 'eclass/vdr-plugin.eclass')
-rw-r--r--eclass/vdr-plugin.eclass11
1 files changed, 7 insertions, 4 deletions
diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass
index 9e08c6ad9495..18957cbfd347 100644
--- a/eclass/vdr-plugin.eclass
+++ b/eclass/vdr-plugin.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.41 2007/01/06 14:47:04 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.42 2007/02/17 01:07:48 zzam Exp $
#
# Author:
# Matthias Schwarzott <zzam@gentoo.org>
@@ -349,14 +349,17 @@ vdr-plugin_src_install() {
+ # Danger: Not using $ROOT here, as compile will also not use it !!!
+ # If vdr in $ROOT and / differ, plugins will not run anyway
+
insinto ${VDR_CHECKSUM_DIR}
- if [[ -f ${ROOT}${VDR_CHECKSUM_DIR}/header-md5-vdr ]]; then
- newins ${ROOT}${VDR_CHECKSUM_DIR}/header-md5-vdr header-md5-${PN}
+ if [[ -f ${VDR_CHECKSUM_DIR}/header-md5-vdr ]]; then
+ newins ${VDR_CHECKSUM_DIR}/header-md5-vdr header-md5-${PN}
else
if which md5sum >/dev/null 2>&1; then
cd ${S}
(
- cd ${ROOT}${VDR_INCLUDE_DIR}
+ cd ${VDR_INCLUDE_DIR}
md5sum *.h libsi/*.h|LC_ALL=C sort --key=2
) > header-md5-${PN}
doins header-md5-${PN}