(tst-dir-ARGS): Fix problem with compiling in source directory.
authordrepper <drepper>
Thu, 9 Nov 2000 19:19:38 +0000 (19:19 +0000)
committerdrepper <drepper>
Thu, 9 Nov 2000 19:19:38 +0000 (19:19 +0000)
posix/Makefile

index 4329566..e485f5d 100644 (file)
@@ -114,7 +114,7 @@ tstgetopt-ARGS = -a -b -cfoobar --required foobar --optional=bazbug \
 
 tst-exec-ARGS = -- $(built-program-cmd)
 tst-spawn-ARGS = -- $(built-program-cmd)
-tst-dir-ARGS = `pwd` "$(objdir)/$(subdir)" "$(common-objdir)" $(objpfx)tst-dir
+tst-dir-ARGS = `pwd` `cd $(common-objdir)/$(subdir); pwd` `cd $(common-objdir); pwd` $(objpfx)tst-dir
 tst-chmod-ARGS = $(objpfx)
 
 tst-fnmatch-ENV = LOCPATH=$(common-objpfx)localedata