1 # $HOME/.profile* or similar files may first set $DEBUGINFOD_URLS.
2 # If $DEBUGINFOD_URLS is not set there, we set it from system *.url files.
3 # $HOME/.*rc or similar files may then amend $DEBUGINFOD_URLS.
4 # See also [man debuginfod-client-config] for other environment variables
5 # such as $DEBUGINFOD_MAXSIZE, $DEBUGINFOD_MAXTIME, $DEBUGINFOD_PROGRESS.
7 if [ -z "$DEBUGINFOD_URLS" ]; then
9 DEBUGINFOD_URLS=$(cat "@sysconfdir@/debuginfod"/*.urls 2>/dev/null | tr '\n' ' ')
10 [ -n "$DEBUGINFOD_URLS" ] && export DEBUGINFOD_URLS || unset DEBUGINFOD_URLS