summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAaron Merey <[email protected]>2024-04-16 11:49:43 -0400
committerAaron Merey <[email protected]>2024-04-17 14:37:59 -0400
commiteeea53b41b12dc9633ce6a3b1eb5c7d0ba0e057f (patch)
treec3dbe58099ddf5f86e58814e8b104c179ba59904 /tests
parent24055ab8679d4edc949250b7eb38e49863a2a560 (diff)
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 <[email protected]>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/run-debuginfod-client-profile.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run-debuginfod-client-profile.sh b/tests/run-debuginfod-client-profile.sh
index 141588d3..12f5a83b 100755
--- a/tests/run-debuginfod-client-profile.sh
+++ b/tests/run-debuginfod-client-profile.sh
@@ -25,3 +25,6 @@ set -e
set -o pipefail
source ${abs_top_builddir}/config/profile.sh
+
+type fish 2>/dev/null || (echo "no fish installed"; exit 77)
+fish ${abs_top_builddir}/config/profile.fish