hacks for static builds

This commit is contained in:
2025-08-08 15:57:42 -05:00
parent a376bfeea3
commit a6239fd0da
3 changed files with 57 additions and 3 deletions

View File

@@ -139,3 +139,13 @@ bash_basename() {
printf '%s\n' "${tmp:-/}"
}
line_contains() {
local line="$1"
local substr="$2"
if [[ $line == *"${substr}"* ]]; then
return 0
else
return 1
fi
}