summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-12-27 23:41:21 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2009-12-27 23:41:21 +0100
commit7fcb0c1cddc86ac7e247fd7f5c305a9ca4a0c205 (patch)
tree63ba06324881d024b7cc6788f8f9ba9daaea6bb7 /eclass
parentDrop weird fontconfig deps. (diff)
downloadx11-7fcb0c1cddc86ac7e247fd7f5c305a9ca4a0c205.tar.gz
x11-7fcb0c1cddc86ac7e247fd7f5c305a9ca4a0c205.tar.bz2
x11-7fcb0c1cddc86ac7e247fd7f5c305a9ca4a0c205.zip
[eclasses] Replace cd with pushd.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/font.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index 47b344de..31eda47c 100644
--- a/eclass/font.eclass
+++ b/eclass/font.eclass
@@ -114,7 +114,7 @@ font_fontconfig() {
font_src_install() {
local suffix commondoc
- cd "${FONT_S}"
+ pushd "${FONT_S}" > /dev/null
insinto "${FONTDIR}"
@@ -128,7 +128,8 @@ font_src_install() {
font_xft_config
font_fontconfig
- cd "${S}"
+ popd > /dev/null
+
dodoc ${DOCS} || die "docs installation failed"
# install common docs