17 lines
654 B
Tcsh
17 lines
654 B
Tcsh
|
|
# $HOME/.login* or similar files may first set $DEBUGINFOD_URLS.
|
|
# If $DEBUGINFOD_URLS is not set there, we set it from system *.url files.
|
|
# $HOME/.*rc or similar files may then amend $DEBUGINFOD_URLS.
|
|
# See also [man debuginfod-client-config] for other environment variables
|
|
# such as $DEBUGINFOD_MAXSIZE, $DEBUGINFOD_MAXTIME, $DEBUGINFOD_PROGRESS.
|
|
|
|
if (! $?DEBUGINFOD_URLS) then
|
|
set prefix="@prefix@"
|
|
set debuginfod_urls=`sh -c "cat @sysconfdir@/debuginfod/*.urls 2>/dev/null" | tr '\n' ' '`
|
|
if ( "$debuginfod_urls" != "" ) then
|
|
setenv DEBUGINFOD_URLS "$debuginfod_urls"
|
|
endif
|
|
unset debuginfod_urls
|
|
unset prefix
|
|
endif
|