From 536529b03bed44e5f73afbff973a067901e4c811 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Mon, 5 Dec 2011 07:07:44 +0000 Subject: [PATCH] Add semicolon to fix ferringb's last change. --- eclass/ChangeLog | 5 ++++- eclass/java-vm-2.eclass | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/eclass/ChangeLog b/eclass/ChangeLog index bb2e88fcf2c7..1f5a63c28ff5 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.34 2011/12/04 06:52:39 ferringb Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.35 2011/12/05 07:07:44 floppym Exp $ + + 05 Dec 2011; Mike Gilbert java-vm-2.eclass: + Add semicolon to fix ferringb's last change. 04 Dec 2011; Brian Harring java-vm-2.eclass: Fix IFS=: bleeding out from java-vm_sandbox-predict invocations. diff --git a/eclass/java-vm-2.eclass b/eclass/java-vm-2.eclass index c215a9b161d0..2a54a81e34fd 100644 --- a/eclass/java-vm-2.eclass +++ b/eclass/java-vm-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.41 2011/12/04 06:52:39 ferringb Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.42 2011/12/05 07:07:44 floppym Exp $ # ----------------------------------------------------------------------------- # @eclass-begin @@ -252,7 +252,7 @@ java-vm_sandbox-predict() { local path path_arr=("$@") # subshell this to prevent IFS bleeding out dependant on bash version. # could use local, which *should* work, but that requires a lot of testing. - path=$(IFS=":" echo "${path_arr[*]}") + path=$(IFS=":"; echo "${path_arr[*]}") dodir /etc/sandbox.d echo "SANDBOX_PREDICT=\"${path}\"" > "${ED}/etc/sandbox.d/20${VMHANDLE}" \ || die "Failed to write sandbox control file" -- 2.26.2