From 89f1c38881d566bb731711632ac84ee1e3d883ee Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 19 Oct 2012 23:31:28 +0000 Subject: Use $(built-program-cmd) in io/ftwtest-sh. --- io/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'io/Makefile') diff --git a/io/Makefile b/io/Makefile index f6534c0bb4..9601a6ff6c 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 $( $@ +$(objpfx)ftwtest.out: ftwtest-sh $(objpfx)ftwtest + $(SHELL) $< $(common-objpfx) '$(built-program-cmd)' > $@ endif -- cgit 1.4.1