Skip to content

Commit a315b79

Browse files
committed
[fix] : Fixed package cache remove
1 parent 773da5b commit a315b79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/fullbuild.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ build() {
6767
_options+=("--arch" "${arch}" "--lang" "${lang}" "${cha}")
6868

6969
if [[ "${simulation}" = false ]] && [[ "${remove_cache}" = true ]]; then
70-
sudo pacman -Sccc --noconfirm
70+
msg_info "Removing package cache for ${arch}"
71+
sudo rm -rf "${work_dir}/cache/${arch}"
7172
fi
7273

7374
if [[ ! -e "${fullbuild_dir}/fullbuild.${cha}_${arch}_${lang}" ]]; then

0 commit comments

Comments
 (0)