From: Mark Wielaard Date: Tue, 3 May 2022 15:48:55 +0000 (+0200) Subject: config: Move the 2>/dev/null inside the sh -c '' quotes for profile.csh. X-Git-Tag: elfutils-0.188~82 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1252e4dbe781f75d806ce0b990779548eeeb7a9;p=thirdparty%2Felfutils.git 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: наб https://bugzilla.redhat.com/show_bug.cgi?id=2080957 Signed-off-by: Mark Wielaard --- diff --git a/config/ChangeLog b/config/ChangeLog index 514152580..cfb37b422 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2022-05-03 Mark Wielaard + + * profile.csh.in: Move the 2>/dev/null inside the sh -c '' quotes. + 2022-04-25 Mark Wielaard * elfutils.spec.in: Update for 0.187. diff --git a/config/profile.csh.in b/config/profile.csh.in index 012e243ad..74c20c99e 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