]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- make PATCH_SH local in build_kernel_modules not to be affected from previous run
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 7 Apr 2008 15:35:23 +0000 (15:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.449

rpm.macros

index cb16953a7e74d6a1f8a67dcb12fabbdb363f6d82..a7c41d3e4b28ddb6fdfcda8fc4bed6ea6a4f5330 100644 (file)
@@ -1239,7 +1239,8 @@ done \
                                                                                                                                        \
 %{?-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}' \
                                                                                                                                        \
This page took 0.547646 seconds and 4 git commands to generate.