[PATCH v2 lkp-tests 2/2] tests/build-pkg: disable 2>&1 when run makepkg

18 Dec
2020
18 Dec
'20
10:15 a.m.
Make error will redirect itself to stdout now. Signed-off-by: Lin Jiaxin <ljx.joe@qq.com> --- tests/build-pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/build-pkg b/tests/build-pkg index 59625299..addff9f7 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -129,7 +129,7 @@ build_source_pkg() create_cgz_name PACMAN=true BUILDDIR=$TMP CARCH=$os_arch PKGEXT=.cgz CGZDEST="$cgz_name" \ - $LKP_SRC/sbin/makepkg ${pkg_args} --config $LKP_SRC/etc/makepkg.conf 2>&1 + $LKP_SRC/sbin/makepkg ${pkg_args} --config $LKP_SRC/etc/makepkg.conf [ "$?" == 0 ] || exit 1 create_softlink -- 2.23.0
1532
Age (days ago)
1532
Last active (days ago)
0 comments
1 participants
participants (1)
-
Lin Jiaxin