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