summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-04-17 18:17:26 +0200
committerUlrich Müller <ulm@gentoo.org>2020-04-18 17:39:43 +0200
commit5ee6eda9172cabc86e5ad4c93d0ff39fd31ec109 (patch)
tree26d8bf0af1920b735d6b079fdf21ddbd0db823fb /eclass
parentdev-python/distlib: Readd, new dep of virtualenv (diff)
downloadgentoo-5ee6eda9172cabc86e5ad4c93d0ff39fd31ec109.tar.gz
gentoo-5ee6eda9172cabc86e5ad4c93d0ff39fd31ec109.tar.bz2
gentoo-5ee6eda9172cabc86e5ad4c93d0ff39fd31ec109.zip
font.eclass: Fix condition for FONT_S in src_install().
Whitespace can be other characters than literal space. Fixes: 58cea2803d7aa7b1a98f72aa55b6221618dc5e5f Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/font.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index bf24701f12fc..e9e448a8155b 100644
--- a/eclass/font.eclass
+++ b/eclass/font.eclass
@@ -170,7 +170,7 @@ font_src_install() {
font_xfont_config "${dir}"
popd > /dev/null || die
done
- elif [[ ${FONT_S/ } != "${FONT_S}" ]]; then
+ elif [[ ${FONT_S/[[:space:]]} != "${FONT_S}" ]]; then
# backwards compatibility code, can be removed after 2021-02-14
eqawarn "Using a space-separated list for FONT_S is deprecated."
eqawarn "Use a bash array instead if there are multiple directories."