1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 02:36:16 +02:00

(check-x-vs-1): cd to srcdir before running the ls.

Otherwise, it'd fail in the non-srcdir case.
This commit is contained in:
Jim Meyering
2002-07-09 07:48:30 +00:00
parent 01fb2d0ba8
commit 6b33fa2fc6

View File

@@ -136,7 +136,7 @@ check-local: check-x-vs-1
.PHONY: check-x-vs-1
check-x-vs-1:
t=ls-files.$$$$; \
ls -1 *.x | sed 's/\.x$$//' | sort > $$t; \
(cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | sort > $$t; \
echo $(dist_man_MANS) | fmt -w1 | sed 's/\.1$$//' | sort -u \
| diff - $$t || { rm $$t; exit 1; }; \
rm $$t