support/scripts/test-pkg: extend logfile with olddefconfig output
authorBenoît Allard <benoit.allard@greenbone.net>
Thu, 9 Mar 2017 15:15:21 +0000 (16:15 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 9 Mar 2017 20:34:33 +0000 (21:34 +0100)
Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/test-pkg

index a040ce1af102b4c561365d1ae0c2c89a1890d368..0e7779de49acd6c535b374ed9ddcee9ec611a055 100755 (executable)
@@ -108,7 +108,7 @@ build_one() {
        _EOF_
     cat "${cfg}" >>"${dir}/.config"
 
-    if ! make O="${dir}" olddefconfig >/dev/null 2>&1; then
+    if ! make O="${dir}" olddefconfig > "${dir}/logfile" 2>&1; then
         printf "FAILED\n"
         return 2
     fi