Blame SOURCES/elfutils-0.187-csh-profile.patch

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