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.
This commit is contained in:
Dor Askayo 2022-01-02 10:38:01 +02:00
parent 206a31fa4c
commit d2b3feca5f
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,10 @@
src_unpack() {
src_dir="${base_dir}/src"
# Remove previous source diretory
rm -rf "${pkg}"
tar -xf "${src_dir}/${pkg}.tar"
}