From: Pádraig Brady Date: Tue, 28 Mar 2017 04:21:21 +0000 (-0700) Subject: maint: avoid syntax check failure with wrapped returns_ X-Git-Tag: v8.28~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5239412c1a76f389ace92add34a3e539db255c4;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/cfg.mk b/cfg.mk index fde426465e..b6f2c6f9b9 100644 --- a/cfg.mk +++ b/cfg.mk @@ -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)