aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorMasahiro Yamada2017-09-02 17:05:35 +0900
committerMasahiro Yamada2017-09-13 00:20:33 +0900
commit77780f799e66cd261746a281dbbef1ee0c6997cd (patch)
tree42f875c405dffcf2970fdd80e9d540d1def65d65 /block
parentdd965f1f0857e72eb6d4cfb28769ba01465ba01b (diff)
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions