• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2# $HOME/.login* or similar files may first set $DEBUGINFOD_URLS.
3# If $DEBUGINFOD_URLS is not set there, we set it from system *.url files.
4# $HOME/.*rc or similar files may then amend $DEBUGINFOD_URLS.
5# See also [man debuginfod-client-config] for other environment variables
6# such as $DEBUGINFOD_MAXSIZE, $DEBUGINFOD_MAXTIME, $DEBUGINFOD_PROGRESS.
7
8if (! $?DEBUGINFOD_URLS) then
9    set prefix="@prefix@"
10    set debuginfod_urls=`sh -c "cat @sysconfdir@/debuginfod/*.urls 2>/dev/null" | tr '\n' ' '`
11    if ( "$debuginfod_urls" != "" ) then
12        setenv DEBUGINFOD_URLS "$debuginfod_urls"
13    endif
14    unset debuginfod_urls
15    unset prefix
16endif
17