1
0
Fork 0

use git to clean too, it is faster lol

This commit is contained in:
Pratham Patel 2024-04-17 06:05:36 +05:30
parent 2ca95bab0a
commit 7beae21ee1
Signed by: thefossguy
SSH Key Fingerprint: SHA256:HwRBy9H1FYXWcv/Qi1WY3kmcVtGz2ydZuPJgD4pkusY
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ function modify_kernel_config() {
function configure_kernel() {
if [[ "${CLEAN_BUILD}" == '1' ]]; then
rm -vf .config*
[[ -d .git ]] && git clean -x -d -f
$SUDO_ALIAS make distclean
fi