diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-09-30 10:10:06 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-11-14 23:18:24 +0900 |
commit | 8c5d4b648b46b3f5b721b9aff021c9f639d42c35 (patch) | |
tree | 3bda2331006d20a3925d6a7ecb45f34ceb91e19f /crypto/authenc.c | |
parent | 5289c322ba994c7b07a4780243dca1feb610954f (diff) | |
download | linux-stable-8c5d4b648b46b3f5b721b9aff021c9f639d42c35.tar.gz linux-stable-8c5d4b648b46b3f5b721b9aff021c9f639d42c35.tar.bz2 linux-stable-8c5d4b648b46b3f5b721b9aff021c9f639d42c35.zip |
kbuild: rpm-pkg: refactor mkspec with here doc
The repeat of echo is unreadable. The here-document is a well-known
device for such scripts. One difficulty is we have a bunch of PREBUILT
conditionals that would split the here-document.
My idea is to add "$S" annotatation to lines only for the source package
spec file, then post-process it by sed. I hope it will make our life
easier than repeat of "cat <<EOF ..."
I confirmed this commit still produced the same (bin)kernel.spec as
before.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'crypto/authenc.c')
0 files changed, 0 insertions, 0 deletions