summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/rules.mk b/build/rules.mk
index 46a6fda904..4c6df265ce 100644
--- a/build/rules.mk
+++ b/build/rules.mk
@@ -184,7 +184,7 @@ shared-modules-recursive:
(cd $$i && $(MAKE) $$target) || exit 1; \
fi; \
done; \
- if test -e 'modules.mk'; then \
+ if test -f 'modules.mk'; then \
if test -n '$(shared_targets)'; then \
echo "Building shared modules: $(shared_targets)"; \
if test -z '$(shared_targets)'; then ok=yes; fi; \