We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 345a4d2 commit 2c6c7e0Copy full SHA for 2c6c7e0
1 file changed
call_host.sh
@@ -321,7 +321,7 @@ if [ -z "$APPTAINER_CONTAINER" ]; then
321
# portable command list discovery:
322
if command -v compgen >/dev/null 2>&1; then
323
# bash: use compgen with grep pattern built from prefixes
324
- GREP_PATTERN="$(echo "$HOSTFN_PREFIXES" | sed 's/ /\\|^/g' | sed 's/^/^/')"
+ GREP_PATTERN="$(echo "$HOSTFN_PREFIXES" | sed 's/ /|^/g' | sed 's/^/^/')"
325
export APPTAINERENV_HOSTFNS=$(compgen -c | grep -E "$GREP_PATTERN" | tr '\n' ' ')
326
else
327
# fallback: scan PATH for matching executables (portable)
0 commit comments