/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

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

Revision 1.438 Revision 1.439
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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/eutils.eclass,v 1.438 2014/11/03 22:55:20 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.439 2014/11/13 04:55:06 vapier Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
1436 fi 1436 fi
1437 EOF 1437 EOF
1438 fi 1438 fi
1439 # We don't want to quote ${bin} so that people can pass complex 1439 # We don't want to quote ${bin} so that people can pass complex
1440 # things as ${bin} ... "./someprog --args" 1440 # things as ${bin} ... "./someprog --args"
1441 printf 'exec %s "$@"\n' "${bin/#\//${EPREFIX}\/}" 1441 printf 'exec %s "$@"\n' "${bin/#\//${EPREFIX}/}"
1442 ) > "${tmpwrapper}" 1442 ) > "${tmpwrapper}"
1443 chmod go+rx "${tmpwrapper}" 1443 chmod go+rx "${tmpwrapper}"
1444 1444
1445 if [[ -n ${path} ]] ; then 1445 if [[ -n ${path} ]] ; then
1446 ( 1446 (

Legend:
Removed from v.1.438  
changed lines
  Added in v.1.439

  ViewVC Help
Powered by ViewVC 1.1.20