From 7769bc60a4d0e4e2aaa0bd0b8a8df08659b478e9 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Fri, 9 Oct 2026 00:33:19 +0100 Subject: [PATCH] [Build] Remove the makepkg src and pkg working directories after building the Arch Linux packages. --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index 10c178c4b..4390b3da1 100755 --- a/build.sh +++ b/build.sh @@ -66,6 +66,8 @@ if [[ ${OS_NAME} == Linux ]]; then cd ../../.. mv .globalconfig.bak .globalconfig mv pkg/pacman/stable/*.pkg.tar.zst build/ 2>/dev/null || true + # Remove the makepkg working directories, they hold a whole copy of the sources and their build outputs + rm -rf pkg/pacman/stable/src pkg/pacman/stable/pkg fi # Build Debian packages for all architectures (on any distro if tools are available)