git clean: exclude build logs
This commit is contained in:
parent
a6e58f76a8
commit
36c4dc77fb
|
@ -201,7 +201,7 @@ function configure_kernel() {
|
||||||
if [[ "${CLEAN_BUILD}" == '1' ]]; then
|
if [[ "${CLEAN_BUILD}" == '1' ]]; then
|
||||||
rm -vf .config*
|
rm -vf .config*
|
||||||
if [[ "$(git rev-parse --is-inside-work-tree)" == 'true' ]]; then
|
if [[ "$(git rev-parse --is-inside-work-tree)" == 'true' ]]; then
|
||||||
git clean -x -d -f
|
git clean --exclude='build-*.log' -x -d -f
|
||||||
fi
|
fi
|
||||||
$SUDO_ALIAS make distclean
|
$SUDO_ALIAS make distclean
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue