Skip to content

Commit

Permalink
font.eclass: Fix condition for FONT_S in src_install().
Browse files Browse the repository at this point in the history
Whitespace can be other characters than literal space.

Fixes: 58cea28
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Apr 18, 2020
1 parent 8603f66 commit 5ee6eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/font.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 5ee6eda

Please sign in to comment.