aboutsummaryrefslogtreecommitdiff
path: root/io/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-10-19 23:31:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-19 23:31:28 +0000
commit89f1c38881d566bb731711632ac84ee1e3d883ee (patch)
tree00289610dab206c26af27df616f2371542ee2a16 /io/Makefile
parente40a0d2113bfeb5018409ed25e9711e6da7d994b (diff)
downloadglibc-89f1c38881d566bb731711632ac84ee1e3d883ee.zip
glibc-89f1c38881d566bb731711632ac84ee1e3d883ee.tar.gz
glibc-89f1c38881d566bb731711632ac84ee1e3d883ee.tar.bz2
Use $(built-program-cmd) in io/ftwtest-sh.
Diffstat (limited to 'io/Makefile')
-rw-r--r--io/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/io/Makefile b/io/Makefile
index f6534c0..9601a6f 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -101,7 +101,6 @@ tst-statvfs-ARGS = $(objpfx)tst-statvfs tst-statvfs.c /tmp
ifeq ($(cross-compiling),no)
tests: $(objpfx)ftwtest.out
-$(objpfx)ftwtest.out: $(objpfx)ftwtest
- $(SHELL) ftwtest-sh $(shell cd $(common-objpfx). && pwd)/ \
- $(shell cd $(<D) && pwd)/$(<F) > $@
+$(objpfx)ftwtest.out: ftwtest-sh $(objpfx)ftwtest
+ $(SHELL) $< $(common-objpfx) '$(built-program-cmd)' > $@
endif