projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8603f66
)
font.eclass: Fix condition for FONT_S in src_install().
author
Ulrich Müller
<ulm@gentoo.org>
Fri, 17 Apr 2020 16:17:26 +0000
(18:17 +0200)
committer
Ulrich Müller
<ulm@gentoo.org>
Sat, 18 Apr 2020 15:39:43 +0000
(17:39 +0200)
Whitespace can be other characters than literal space.
Fixes:
58cea2803d7aa7b1a98f72aa55b6221618dc5e5f
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
eclass/font.eclass
patch
|
blob
|
history
diff --git
a/eclass/font.eclass
b/eclass/font.eclass
index bf24701f12fc53d3c633627effd886793a4639d9..e9e448a8155b9e8b4fa03b96c7397af8d30fec9f 100644
(file)
--- 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."