]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- make %banner use eval on $CMD so CMD="cat >&2" could work when banner.sh is not...
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 15 Sep 2005 17:20:03 +0000 (17:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.239

rpm.macros

index af90c5ce9e56f5eda9caff6e249a04a5bd11d5f8..6ec4a2b43d82bfd3a229d8c9b35cb6cb1081f399 100644 (file)
@@ -611,7 +611,7 @@ if [ -x /usr/bin/banner.sh ]; then \
 else \
        CMD="cat%{-e: >&2}" \
 fi \
-$CMD %2%{?3: %3} \
+eval $CMD %2%{?3: %3} \
 %nil
 
 # useradd/groupadd macros written by glen@pld-linux.org.
This page took 0.070045 seconds and 4 git commands to generate.