1
0
Fork 0

git clean: exclude build logs

This commit is contained in:
Pratham Patel 2024-04-24 21:27:41 +05:30
parent a6e58f76a8
commit 36c4dc77fb
Signed by: thefossguy
SSH Key Fingerprint: SHA256:HwRBy9H1FYXWcv/Qi1WY3kmcVtGz2ydZuPJgD4pkusY
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ function configure_kernel() {
if [[ "${CLEAN_BUILD}" == '1' ]]; then
rm -vf .config*
if [[ "$(git rev-parse --is-inside-work-tree)" == 'true' ]]; then
git clean -x -d -f
git clean --exclude='build-*.log' -x -d -f
fi
$SUDO_ALIAS make distclean
fi