diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-07 08:52:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-07 08:52:46 +0000 |
commit | d05f90bfd5aafd4b9a9d48e68cf950e807eafaec (patch) | |
tree | 40944ed1aa8d5d2698ad75b7a1413e19f6fd8d03 /eclass/freebsd.eclass | |
parent | stable amd64, bug 169830 (diff) | |
download | historical-d05f90bfd5aafd4b9a9d48e68cf950e807eafaec.tar.gz historical-d05f90bfd5aafd4b9a9d48e68cf950e807eafaec.tar.bz2 historical-d05f90bfd5aafd4b9a9d48e68cf950e807eafaec.zip |
replace INSDESTTREE/INSOPTIONS with subshells and insinto/insopts
Diffstat (limited to 'eclass/freebsd.eclass')
-rw-r--r-- | eclass/freebsd.eclass | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass index 39042fe158b6..1806eaa4442d 100644 --- a/eclass/freebsd.eclass +++ b/eclass/freebsd.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.11 2006/11/22 11:21:37 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.12 2007/04/07 08:52:46 vapier Exp $ # # Diego Pettenò <flameeyes@gentoo.org> @@ -42,9 +42,11 @@ doperiodic() { local kind=$1 shift - INSDESTTREE="/etc/periodic/${kind}" - INSOPTIONS="-m 0755" \ - doins "$@" + ( # dont want to pollute calling env + insinto /etc/periodic/${kind} + insopts -m 0755 + doins "$@" + ) } freebsd_get_bmake() { |