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