From: Lars Wendler Date: Wed, 7 Sep 2016 12:43:02 +0000 (+0200) Subject: app-editors/joe: Fixed eautoreconf with USE="xterm". X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5fbb77dd36d69589eeb5291b406665ea2cf29856;p=gentoo.git app-editors/joe: Fixed eautoreconf with USE="xterm". Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler --- diff --git a/app-editors/joe/joe-4.3-r1.ebuild b/app-editors/joe/joe-4.3-r1.ebuild index 446ac94c11d8..170a0d727bd8 100644 --- a/app-editors/joe/joe-4.3-r1.ebuild +++ b/app-editors/joe/joe-4.3-r1.ebuild @@ -27,11 +27,12 @@ src_prepare() { default # Enable xterm mouse support in the rc files if use xterm; then - cd "${S}"/rc || die + pushd "${S}"/rc &>/dev/null || die local i for i in *rc*.in; do sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die done + popd &>/dev/null fi eautoreconf }