From: Michael Pratt Date: Fri, 9 Sep 2022 20:01:21 +0000 (-0400) Subject: depends.mk: fix typo in rdep function X-Git-Tag: v23.05.0-rc1~2491 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f34690e487e13ee772b2dca3e7fab2a2bd1e77a1;p=openwrt%2Fopenwrt.git depends.mk: fix typo in rdep function Just like later in the file, the precursor to _check _check.1 is supposed to be moved to _check before it is touched. This line would error if it was ever run. Signed-off-by: Michael Pratt --- diff --git a/include/depends.mk b/include/depends.mk index 465e4e952a..073fb03632 100644 --- a/include/depends.mk +++ b/include/depends.mk @@ -27,7 +27,7 @@ ifneq ($(wildcard $(2)),) { [ \! -f "$(3)" ] || diff $(3) $(3).1 >/dev/null; } && \ ) \ { \ - [ -f "$(2)_check.1" ] && mv "$(2)_check.1"; \ + [ -f "$(2)_check.1" ] && mv "$(2)_check.1" "$(2)_check"; \ $(TOPDIR)/scripts/timestamp.pl $(DEP_FINDPARAMS) $(4) -n $(2) $(1) && { \ $(call debug_eval,$(SUBDIR),r,echo "No need to rebuild $(2)";) \ touch -r "$(2)" "$(2)_check"; \