0.187-2 - Add elfutils-0.187-csh-profile.patch
Resolves: #2080957 "Ambiguous output redirect" warning with csh or tcsh
This commit is contained in:
parent
5323c422e7
commit
6a6ddccfb4
28
elfutils-0.187-csh-profile.patch
Normal file
28
elfutils-0.187-csh-profile.patch
Normal file
@ -0,0 +1,28 @@
|
||||
commit f1252e4dbe781f75d806ce0b990779548eeeb7a9
|
||||
Author: Mark Wielaard <mark@klomp.org>
|
||||
Date: Tue May 3 17:48:55 2022 +0200
|
||||
|
||||
config: Move the 2>/dev/null inside the sh -c '' quotes for profile.csh.
|
||||
|
||||
csh/tcsh would warn about "Ambiguous output redirect" if not done inside
|
||||
the sh -c command.
|
||||
|
||||
Fix-by: наб <nabijaczleweli@nabijaczleweli.xyz>
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=2080957
|
||||
|
||||
Signed-off-by: Mark Wielaard <mark@klomp.org>
|
||||
|
||||
diff --git a/config/profile.csh.in b/config/profile.csh.in
|
||||
index 012e243a..74c20c99 100644
|
||||
--- a/config/profile.csh.in
|
||||
+++ b/config/profile.csh.in
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
if (! $?DEBUGINFOD_URLS) then
|
||||
set prefix="@prefix@"
|
||||
- set DEBUGINFOD_URLS=`sh -c 'cat "$0"/*.urls; :' "@sysconfdir@/debuginfod" 2>/dev/null | tr '\n' ' '`
|
||||
+ set DEBUGINFOD_URLS=`sh -c 'cat "$0"/*.urls 2>/dev/null; :' "@sysconfdir@/debuginfod" | tr '\n' ' '`
|
||||
if ( "$DEBUGINFOD_URLS" != "" ) then
|
||||
setenv DEBUGINFOD_URLS "$DEBUGINFOD_URLS"
|
||||
else
|
@ -1,6 +1,6 @@
|
||||
Name: elfutils
|
||||
Version: 0.187
|
||||
%global baserelease 1
|
||||
%global baserelease 2
|
||||
Release: %{baserelease}%{?dist}
|
||||
URL: http://elfutils.org/
|
||||
%global source_url ftp://sourceware.org/pub/elfutils/%{version}/
|
||||
@ -65,6 +65,7 @@ BuildRequires: gettext-devel
|
||||
|
||||
# For s390x... FDO package notes are bogus.
|
||||
Patch1: elfutils-0.186-fdo-swap.patch
|
||||
Patch2: elfutils-0.187-csh-profile.patch
|
||||
|
||||
%description
|
||||
Elfutils is a collection of utilities, including stack (to show
|
||||
@ -405,6 +406,9 @@ exit 0
|
||||
%systemd_postun_with_restart debuginfod.service
|
||||
|
||||
%changelog
|
||||
* Tue May 3 2022 Mark Wielaard <mjw@fedoraproject.org> - 0.187-2
|
||||
- Add elfutils-0.187-csh-profile.patch
|
||||
|
||||
* Tue Apr 26 2022 Mark Wielaard <mjw@fedoraproject.org> - 0.187-1
|
||||
- Upgrade to elfutils 0.187
|
||||
- debuginfod: Support -C option for connection thread pooling.
|
||||
|
Loading…
Reference in New Issue
Block a user