From 8229e2914c79a802cc81d5a616857c67d4ffd82a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 13 Nov 2014 04:55:06 +0000 Subject: [PATCH] make_wrapper: fix by Jason Zaman to drop spurious blackslash in wrapped commands #509936 --- eclass/eutils.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 46e27cac328d..6ce3418ccd0e 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.438 2014/11/03 22:55:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.439 2014/11/13 04:55:06 vapier Exp $ # @ECLASS: eutils.eclass # @MAINTAINER: @@ -1438,7 +1438,7 @@ make_wrapper() { fi # We don't want to quote ${bin} so that people can pass complex # things as ${bin} ... "./someprog --args" - printf 'exec %s "$@"\n' "${bin/#\//${EPREFIX}\/}" + printf 'exec %s "$@"\n' "${bin/#\//${EPREFIX}/}" ) > "${tmpwrapper}" chmod go+rx "${tmpwrapper}" -- 2.26.2