• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# $HOME/.login* 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.
6
7if (! $?DEBUGINFOD_URLS) then
8    set prefix="@prefix@"
9    set DEBUGINFOD_URLS=`sh -c 'cat /dev/null "$0"/*.urls 2>/dev/null; :' "@sysconfdir@/debuginfod" | tr '\n' ' '`
10    if ( "$DEBUGINFOD_URLS" != "" ) then
11        setenv DEBUGINFOD_URLS "$DEBUGINFOD_URLS"
12    else
13        unset DEBUGINFOD_URLS
14    endif
15    unset prefix
16endif
17