summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-09-07 14:43:02 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-09-07 14:43:14 +0200
commit5fbb77dd36d69589eeb5291b406665ea2cf29856 (patch)
tree65c0c5d21c61646f288687abd427277c83f77f31 /app-editors
parentdev-ml/ojquery: add live ebuild (diff)
downloadgentoo-5fbb77dd36d69589eeb5291b406665ea2cf29856.tar.gz
gentoo-5fbb77dd36d69589eeb5291b406665ea2cf29856.tar.bz2
gentoo-5fbb77dd36d69589eeb5291b406665ea2cf29856.zip
app-editors/joe: Fixed eautoreconf with USE="xterm".
Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/joe/joe-4.3-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
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
}