From d2b3feca5f475a3b0c5c9783b4802db71d740a0c Mon Sep 17 00:00:00 2001 From: Dor Askayo Date: Sun, 2 Jan 2022 10:38:01 +0200 Subject: [PATCH] Remove the previous coreutils-5.0 source directory coreutils-5.0 is built twice in the same source directory during the bootstrap. This can create some unexpected issues. --- sysa/coreutils-5.0/coreutils-5.0.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sysa/coreutils-5.0/coreutils-5.0.sh b/sysa/coreutils-5.0/coreutils-5.0.sh index 4c6e219..13fc0dd 100755 --- a/sysa/coreutils-5.0/coreutils-5.0.sh +++ b/sysa/coreutils-5.0/coreutils-5.0.sh @@ -4,6 +4,10 @@ src_unpack() { src_dir="${base_dir}/src" + + # Remove previous source diretory + rm -rf "${pkg}" + tar -xf "${src_dir}/${pkg}.tar" }