Skip to content

Commit

Permalink
ensure we can remove _output
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed Apr 21, 2023
1 parent 0251dde commit 7a14c5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ function kube::build::clean() {

if [[ -d "${LOCAL_OUTPUT_ROOT}" ]]; then
kube::log::status "Removing _output directory"
# this ensures we can clean _output/local/go/cache which is not rw by default
chmod -R +w "${LOCAL_OUTPUT_ROOT}"
rm -rf "${LOCAL_OUTPUT_ROOT}"
fi
}
Expand Down

0 comments on commit 7a14c5a

Please sign in to comment.