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