3116d3
commit f1252e4dbe781f75d806ce0b990779548eeeb7a9
3116d3
Author: Mark Wielaard <mark@klomp.org>
3116d3
Date:   Tue May 3 17:48:55 2022 +0200
3116d3
3116d3
    config: Move the 2>/dev/null inside the sh -c '' quotes for profile.csh.
3116d3
    
3116d3
    csh/tcsh would warn about "Ambiguous output redirect" if not done inside
3116d3
    the sh -c command.
3116d3
    
3116d3
    Fix-by: наб <nabijaczleweli@nabijaczleweli.xyz>
3116d3
    
3116d3
    https://bugzilla.redhat.com/show_bug.cgi?id=2080957
3116d3
    
3116d3
    Signed-off-by: Mark Wielaard <mark@klomp.org>
3116d3
3116d3
diff --git a/config/profile.csh.in b/config/profile.csh.in
3116d3
index 012e243a..74c20c99 100644
3116d3
--- a/config/profile.csh.in
3116d3
+++ b/config/profile.csh.in
3116d3
@@ -6,7 +6,7 @@
3116d3
 
3116d3
 if (! $?DEBUGINFOD_URLS) then
3116d3
     set prefix="@prefix@"
3116d3
-    set DEBUGINFOD_URLS=`sh -c 'cat "$0"/*.urls; :' "@sysconfdir@/debuginfod" 2>/dev/null | tr '\n' ' '`
3116d3
+    set DEBUGINFOD_URLS=`sh -c 'cat "$0"/*.urls 2>/dev/null; :' "@sysconfdir@/debuginfod" | tr '\n' ' '`
3116d3
     if ( "$DEBUGINFOD_URLS" != "" ) then
3116d3
         setenv DEBUGINFOD_URLS "$DEBUGINFOD_URLS"
3116d3
     else