mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
depend-cleanup.sh: Fix overzealous rescue.mk cleanup
grep -q -v means "are there any lines that don't match", not "are there
no lines that match", and since the file has lines other than ones with
nvme_util.o when up-to-date this triggers on every build.
Fixes: 26a09db3ad ("Fix incremental build with WITH_NVME newly enabled")
MFC after: 1 week
This commit is contained in:
parent
7ce171bd42
commit
e546c3950a
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ fi
|
|||
|
||||
# 20240416 2fda3ab0ac19 WITH_NVME: Remove from broken
|
||||
if [ -f "$OBJTOP"/rescue/rescue/rescue.mk ] && \
|
||||
grep -q -v 'nvme_util.o' "$OBJTOP"/rescue/rescue/rescue.mk; then
|
||||
! grep -q 'nvme_util.o' "$OBJTOP"/rescue/rescue/rescue.mk; then
|
||||
echo "removing rescue.mk without nvme_util.o"
|
||||
run rm -f "$OBJTOP"/rescue/rescue/rescue.mk
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue