aboutsummaryrefslogtreecommitdiffstats
path: root/testcase/strip_and_shell.mk
diff options
context:
space:
mode:
Diffstat (limited to 'testcase/strip_and_shell.mk')
-rw-r--r--testcase/strip_and_shell.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcase/strip_and_shell.mk b/testcase/strip_and_shell.mk
index cb550f3..fccc37f 100644
--- a/testcase/strip_and_shell.mk
+++ b/testcase/strip_and_shell.mk
@@ -1,4 +1,4 @@
# TODO(c-ninja): $(shell) in another make expression is not supported.
test:
- echo $(strip $(shell pwd))
+ echo $(strip $(shell dirname $$(pwd)))