aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/directive-sinclude.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/directive-sinclude.mk')
-rwxr-xr-xunit-tests/directive-sinclude.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit-tests/directive-sinclude.mk b/unit-tests/directive-sinclude.mk
index 4c856d22be4f..3c2ffbdc9f6c 100755
--- a/unit-tests/directive-sinclude.mk
+++ b/unit-tests/directive-sinclude.mk
@@ -17,7 +17,7 @@
# Errors that are not related to opening the file are still reported.
# expect: make: directive-include-error.inc:1: Invalid line "syntax error"
_!= echo 'syntax error' > directive-include-error.inc
-.sinclude "${.CURDIR}/directive-include-error.inc"
+.sinclude "${.OBJDIR}/directive-include-error.inc"
_!= rm directive-include-error.inc
all: .PHONY