]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- move whole %banner expansion to subshell, heredoc redirection works now too auto/ac/rpm-build-macros-1_415-1 auto/th/rpm-build-macros-1_415-1
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 15 Jan 2008 21:25:40 +0000 (21:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.415

rpm.macros

index 37a687ae638808566a4f09e5f787acd0568d59d3..579a3b85a86fd86ea32344e20f48e5f5ac4db1a4 100644 (file)
@@ -811,7 +811,7 @@ fi; \
 # -e   - send to stderr instead of stdout
 # -n   - no show banner (overrides -t)
 # -t   - show only, if RPM_SCRIPTVERBOSITY >= n; default n=5
-%banner(aent:) \{ \
+%banner(aent:) ( \
 RPM_SCRIPTVERBOSITY=5 \
 [ -r /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm \
 if [ -x /usr/bin/banner.sh ]; then \
@@ -819,8 +819,7 @@ if [ -x /usr/bin/banner.sh ]; then \
 else \
        CMD="cat%{-e: >&2}" \
 fi \
-eval $CMD %{?2:%2}%{?3: %3} \
-\}; %{nil}
+eval $CMD %{?2:%2}%{?3: %3})%{nil}
 
 # useradd/groupadd macros
 # Author: Elan Ruusamäe <glen@pld-linux.org>
This page took 0.048693 seconds and 4 git commands to generate.