From a5239412c1a76f389ace92add34a3e539db255c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Mon, 27 Mar 2017 21:21:21 -0700 Subject: [PATCH] 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. --- cfg.mk | 1 + 1 file changed, 1 insertion(+) 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) -- 2.47.2