]> git.ipfire.org Git - thirdparty/elfutils.git/commit
config/profile.fish.in: Prevent bracketed variables and unmatched wildcard errors
authorAaron Merey <amerey@redhat.com>
Tue, 16 Apr 2024 15:49:43 +0000 (11:49 -0400)
committerAaron Merey <amerey@redhat.com>
Wed, 17 Apr 2024 18:37:59 +0000 (14:37 -0400)
commiteeea53b41b12dc9633ce6a3b1eb5c7d0ba0e057f
treec3dbe58099ddf5f86e58814e8b104c179ba59904
parent24055ab8679d4edc949250b7eb38e49863a2a560
config/profile.fish.in: Prevent bracketed variables and unmatched wildcard errors

Fish does not support bracketed variables in scripts.  Remove brackets
from the variable ${prefix} in profile.fish before installation to
prevent this error.

Fish also raises an error for unmatched wildcards, except for special
cases like the set command.  Use a wildcard to match .urls files using
the set command instead of cat to prevent an unmatched wildcard error
when no .urls files are found.

Signed-off-by: Aaron Merey <amerey@redhat.com>
config/Makefile.am
config/profile.fish.in
tests/run-debuginfod-client-profile.sh