SOURCES: rpm.macros - make PATCH_SH local in build_kernel_modules ...
glen
glen at pld-linux.org
Mon Apr 7 17:35:28 CEST 2008
Author: glen Date: Mon Apr 7 15:35:28 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- make PATCH_SH local in build_kernel_modules not to be affected from previous run
---- Files affected:
SOURCES:
rpm.macros (1.448 -> 1.449)
---- Diffs:
================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.448 SOURCES/rpm.macros:1.449
--- SOURCES/rpm.macros:1.448 Thu Apr 3 22:23:48 2008
+++ SOURCES/rpm.macros Mon Apr 7 17:35:23 2008
@@ -1239,7 +1239,8 @@
\
%{?-C:cd %{-C*}} \
compile() { \
- L="<"; [[ '%{*}' != *$L$L* ]] || PATCH_SH="set -x -e;$(cat)" \
+ local L="<" PATCH_SH; \
+ [[ '%{*}' != *$L$L* ]] || PATCH_SH="set -x -e;$(cat)" \
set -e -x \
local cfgs='%{?with_dist_kernel:%{?with_smp: smp}%{?with_up: up}}%{!?with_dist_kernel: nondist}' \
\
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm.macros?r1=1.448&r2=1.449&f=u
More information about the pld-cvs-commit
mailing list