From: Alan T. DeKok Date: Mon, 11 Mar 2019 19:31:08 +0000 (-0400) Subject: make sure that the file isn't empty X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29bbb01cf70fe8ae8bbe8fd8d70b5ff3ba54cae4;p=thirdparty%2Ffreeradius-server.git make sure that the file isn't empty otherwise Make will re-run the rules on every build --- diff --git a/src/tests/auth/all.mk b/src/tests/auth/all.mk index dbb4385e02a..70254ceb01c 100644 --- a/src/tests/auth/all.mk +++ b/src/tests/auth/all.mk @@ -36,6 +36,7 @@ AUTH_COPY := $(subst $(DIR),$(BUILD_DIR)/tests/auth,$(AUTH_NEEDS)) $(BUILD_DIR)/tests/auth/depends.mk: $(addprefix $(DIR)/,$(AUTH_FILES)) | $(BUILD_DIR)/tests/auth ${Q}rm -f $@ + ${Q}touch $@ ${Q}for x in $^; do \ y=`grep 'PRE: ' $$x | sed 's/.*://;s/ / /g;s, , $(BUILD_DIR)/tests/auth/,g'`; \ if [ "$$y" != "" ]; then \