diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-05-29 12:04:12 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-05-29 13:30:34 +0200 |
commit | 30b9267e35eea1c2edb4da0231a428bfa25b6766 (patch) | |
tree | 2c146578247fd2f0454cdd9205612cbbd88e41e9 /scripts/lib/ptxd_make_world_patchin.sh | |
parent | 8ee3c980c36e5425feeb76d459274fbcc2cdfa8a (diff) | |
download | ptxdist-30b9267e35eea1c2edb4da0231a428bfa25b6766.tar.gz ptxdist-30b9267e35eea1c2edb4da0231a428bfa25b6766.tar.xz |
redirect command stderr to stdout
Redirect stderr to stdout for the actual autogen.sh, prepare, compile,
install and opkg-build command.
This preserves the chronological order of stdout vs. stderr when building
packages in parallel with output sync enabled.
As a side-effect, the stderr output of these commands won't show up on the
console for quiet builds. But most of that is not really useful by itself
anyways. And the resulting logfile is more readable now for the rest.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_patchin.sh')
-rw-r--r-- | scripts/lib/ptxd_make_world_patchin.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_patchin.sh b/scripts/lib/ptxd_make_world_patchin.sh index c93ba62b9..00d5bd7e7 100644 --- a/scripts/lib/ptxd_make_world_patchin.sh +++ b/scripts/lib/ptxd_make_world_patchin.sh @@ -411,7 +411,7 @@ ptxd_make_world_autogen() { # run autogen.sh if available if [ -n "${pkg_patch_autogen}" ]; then - "${pkg_patch_autogen}" || return + "${pkg_patch_autogen}" 2>&1 || return echo -e "patchin: autogen: done\n" fi } |