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