commit: e05c649aa5a82674a7669fc8116af16b3e7b322d
parent 17ca9c594c3bb5a179d3f5e20c71acd742b4cac1
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 23 Apr 2024 19:48:57 +0200
configure: Fix wild matches with cmd/tr
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
@@ -62,18 +62,18 @@ pkg_config_check() {
gen_targets() {
printf 'EXE = '
- printf '%s\n ' cmd/*.c | grep -v -f target_filter | sed 's;.c$;;' | tr -d '\n'
+ printf '%s\n ' cmd/*.c | grep -v -F -f target_filter | sed 's;.c$;;' | tr -d '\n'
echo
printf 'MAN1SO = '
printf '%s\n' cmd/*.1.in \
- | grep -v -f target_filter \
+ | grep -v -F -f target_filter \
| sed -e 's;\.in$;;' -e 's;^cmd/;build/cmd/;' \
| tr '\n' ' '
echo
printf 'MAN1 = ${MAN1SO} '
- printf '%s\n ' cmd/*.1 | grep -v -f target_filter | tr -d '\n'
+ printf '%s\n ' cmd/*.1 | grep -v -F -f target_filter | tr -d '\n'
echo
}
@@ -255,7 +255,7 @@ fi
if ! check_conftest configure.d/reallocarray.c; then
echo 'Disabling cmd/tr'
- echo 'cmd/tr' >> target_filter
+ echo 'cmd/tr.' >> target_filter
fi
echo