]> git.pld-linux.org Git - packages/rpm-build-macros.git/blobdiff - rpm.macros
- make PATCH_SH local in build_kernel_modules not to be affected from previous run
[packages/rpm-build-macros.git] / 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.051778 seconds and 4 git commands to generate.