From 705290a2cb5fc82b6cf361d3b9d985384a98c572 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 5 Mar 2019 16:19:55 +0100 Subject: [PATCH] Compress log files after a package stage has completed Signed-off-by: David Oberhollenzer --- util/pkgcmd.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/pkgcmd.sh b/util/pkgcmd.sh index 2edd34e..fab9def 100644 --- a/util/pkgcmd.sh +++ b/util/pkgcmd.sh @@ -22,4 +22,6 @@ run_pkg_command() { pushd "$PKGBUILDDIR" > /dev/null $FUNCTION "$SRC" "$PKGDEPLOYDIR" &>> "$LOGFILE" < /dev/null popd > /dev/null + + gzip "$LOGFILE" }