1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-12 02:12:06 +02:00

maint: avoid syntax check failure with wrapped returns_

* cfg.mk (sc_prohibit_env_returns): Allow wrapped calls to
return_ of the form: `wrapper_ returns_ ...` which is needed
with the following commit.
This commit is contained in:
Pádraig Brady
2017-03-27 21:21:21 -07:00
parent 73c8452e83
commit a5239412c1

1
cfg.mk
View File

@@ -514,6 +514,7 @@ sc_prohibit_and_fail_1:
# that was seen to fail on FreeBSD /bin/sh at least
sc_prohibit_env_returns:
@prohibit='=[^ ]* returns_ ' \
exclude='_ returns_ ' \
halt='Passing env vars to returns_ is non portable' \
in_vc_files='^tests/' \
$(_sc_search_regexp)