diff options
author | Markus Meier <maekke@gentoo.org> | 2009-02-14 18:37:34 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2009-02-14 18:37:34 +0000 |
commit | 4396165f0f7b7117744bc0a709501e389200c1dc (patch) | |
tree | a9eb10c26372255b37d9d8bbb3d76397e8f2b322 /eclass/x-modular.eclass | |
parent | ppc stable #256245 (diff) | |
download | gentoo-2-4396165f0f7b7117744bc0a709501e389200c1dc.tar.gz gentoo-2-4396165f0f7b7117744bc0a709501e389200c1dc.tar.bz2 gentoo-2-4396165f0f7b7117744bc0a709501e389200c1dc.zip |
quote variables wrt bug #258232
Diffstat (limited to 'eclass/x-modular.eclass')
-rw-r--r-- | eclass/x-modular.eclass | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass index 13ffb759bb01..2bad091125fe 100644 --- a/eclass/x-modular.eclass +++ b/eclass/x-modular.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.103 2008/11/26 23:13:24 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.104 2009/02/14 18:37:34 maekke Exp $ # # @ECLASS: x-modular.eclass # @MAINTAINER: @@ -229,7 +229,7 @@ x-modular_unpack_source() { else unpack ${A} fi - cd ${S} + cd "${S}" if [[ -n ${FONT_OPTIONS} ]]; then einfo "Detected font directory: ${FONT_DIR}" @@ -409,7 +409,7 @@ x-modular_src_install() { fi if [[ -e ${S}/ChangeLog ]]; then - dodoc ${S}/ChangeLog + dodoc "${S}"/ChangeLog fi # @VARIABLE: DOCS # @DESCRIPTION: @@ -421,7 +421,7 @@ x-modular_src_install() { # Don't install libtool archives for server modules if [[ -e ${D}/usr/$(get_libdir)/xorg/modules ]]; then - find ${D}/usr/$(get_libdir)/xorg/modules -name '*.la' \ + find "${D}"/usr/$(get_libdir)/xorg/modules -name '*.la' \ | xargs rm -f fi @@ -534,7 +534,7 @@ remove_font_metadata() { [[ "${DIR}" != "CID" ]] ; then # Delete font metadata files # fonts.scale, fonts.dir, fonts.cache-1 - rm -f ${D}/usr/share/fonts/${DIR}/fonts.{scale,dir,cache-1} + rm -f "${D}"/usr/share/fonts/${DIR}/fonts.{scale,dir,cache-1} fi done } @@ -583,7 +583,7 @@ create_fonts_scale() { if [[ "${x/encodings}" = "${x}" ]] \ && [[ -n "$(find ${x} -iname '*.[pot][ft][abcf]' -print)" ]]; then mkfontscale \ - -a ${ROOT}/usr/share/fonts/encodings/encodings.dir \ + -a "${ROOT}"/usr/share/fonts/encodings/encodings.dir \ -- ${x} fi done @@ -603,8 +603,8 @@ create_fonts_dir() { if [[ "${x/encodings}" = "${x}" ]]; then mkfontdir \ - -e ${ROOT}/usr/share/fonts/encodings \ - -e ${ROOT}/usr/share/fonts/encodings/large \ + -e "${ROOT}"/usr/share/fonts/encodings \ + -e "${ROOT}"/usr/share/fonts/encodings/large \ -- ${x} fi done @@ -618,7 +618,7 @@ create_fonts_dir() { fix_font_permissions() { ebegin "Fixing permissions" for DIR in ${FONT_DIR}; do - find ${ROOT}/usr/share/fonts/${DIR} -type f -name 'font.*' \ + find "${ROOT}"/usr/share/fonts/${DIR} -type f -name 'font.*' \ -exec chmod 0644 {} \; done eend 0 |