linux/scripts/package
Masahiro Yamada 77780f799e kbuild: buildtar: do not print successful message if tar returns error
The previous commit spotted that "Tarball successfully created ..."
is displayed even if the "tar" command returns error code because
it is followed by "| ${compress}".

Let the build fail instead of printing the successful message since
if the "tar" command fails, the output may not be what users expect.

Avoid the use of the pipe.  While we are here, refactor the script
removing the use of sub-shell, ${compress}, ${file_ext}.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-09-13 00:20:33 +09:00
..
Makefile scripts/package/Makefile: rpmbuild add support of RPMOPTS 2016-05-16 14:01:48 +02:00
builddeb Kbuild misc updates for 4.12 2017-05-10 20:41:43 -07:00
buildtar kbuild: buildtar: do not print successful message if tar returns error 2017-09-13 00:20:33 +09:00
mkspec kbuild/mkspec: avoid using brace expansion 2016-12-11 12:07:00 +01:00