summaryrefslogblamecommitdiff
path: root/experimental/zfs/fix-autoconf-redirection-for-dash.patch
blob: aa6e3becc456cf0803500527ddd315067032d85f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                
--- a/config/kernel.m4	2020-03-28 09:54:37.851263408 +0000
+++ b/config/kernel.m4	2020-03-28 09:54:47.004155429 +0000
@@ -603,7 +603,7 @@
 	AC_TRY_COMMAND([
 	    KBUILD_MODPOST_NOFINAL="$5" KBUILD_MODPOST_WARN="$6"
 	    make modules -k -j$TEST_JOBS -C $LINUX_OBJ $ARCH_UM
-	    M=$PWD/$1 &>$1/build.log])
+	    M=$PWD/$1 >$1/build.log 2>&1])
 	AS_IF([AC_TRY_COMMAND([$2])], [$3], [$4])
 ])