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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user