]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: fix error in syntax-check checking
authorBernhard Voelker <mail@bernhard-voelker.de>
Tue, 6 Aug 2019 23:11:01 +0000 (16:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Aug 2019 23:11:01 +0000 (16:11 -0700)
commita57402911033fb7d40cd223138163fb5b2ffe974
treeaf929fef94ec244afa085392d3f5ab2abaf305d1
parent0e2d4e14256c83f235484c6657a748cca3d89c0c
maint: fix error in syntax-check checking

The previous commit introduced a bug into the following syntax-check,
and thus effectively turned it off:

  $ make sc_prohibit_test_calls_print_ver_with_irrelevant_argument; \
      echo $?
  prohibit_test_calls_print_ver_with_irrelevant_argument
  fatal: cannot change to 'grep': No such file or directory
  0

* cfg.mk (sc_prohibit_test_calls_print_ver_with_irrelevant_argument):
Remove changing directory, and pass $(srcdir) as argument to 'git -C'.
cfg.mk