bug#36739: [PATCH] maint: fix issues in syntax-check
From:
Bernhard Voelker
Subject:
bug#36739: [PATCH] maint: fix issues in syntax-check
Date:
Tue, 6 Aug 2019 22:28:43 +0200
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
On 7/20/19 9:27 AM, Akim Demaille wrote:
> # Ensure that tests call the print_ver_ function for programs which are
> # actually used in that test.
> sc_prohibit_test_calls_print_ver_with_irrelevant_argument:
> - @git grep -w print_ver_ $(srcdir)/tests \
> + @cd $(srcdir) \
> + && git -C grep -w print_ver_ tests \
> | sed 's#:print_ver_##' \
> | { fail=0; \
> while read file name; do \
'git -C' is lacking the SRCDIR argument.
The attached fixes it.
Have a nice day,
Berny