/[gentoo-x86]/eclass/obs-service.eclass
Gentoo

Diff of /eclass/obs-service.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/obs-service.eclass,v 1.10 2013/03/18 10:07:44 miska Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/obs-service.eclass,v 1.11 2013/03/26 13:49:39 scarabeus Exp $
4 4
5# @ECLASS: obs-service.eclass 5# @ECLASS: obs-service.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# suse@gentoo.org 7# suse@gentoo.org
8# @BLURB: Reduces code duplication in the Open Build Service services. 8# @BLURB: Reduces code duplication in the Open Build Service services.
82obs-service_src_prepare() { 82obs-service_src_prepare() {
83 debug-print-function ${FUNCNAME} "$@" 83 debug-print-function ${FUNCNAME} "$@"
84 debug-print "Replacing all paths to find suse-build in Gentoo" 84 debug-print "Replacing all paths to find suse-build in Gentoo"
85 find "${S}" -type f -exec \ 85 find "${S}" -type f -exec \
86 sed -i 's|/usr/lib/build|/usr/libexec/suse-build|g' {} + 86 sed -i 's|/usr/lib/build|/usr/libexec/suse-build|g' {} +
87 debug-print "Replacing all paths from hardcoded suse libexec"
88 find "${S}" -type f -exec \
89 sed -i 's|/usr/lib/obs|/usr/libexec/obs|g' {} +
87} 90}
88 91
89# @FUNCTION: obs-service_src_install 92# @FUNCTION: obs-service_src_install
90# @DESCRIPTION: 93# @DESCRIPTION:
91# Does the installation of the downloaded files. 94# Does the installation of the downloaded files.

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20