From a73c0976a1ece6bcdf760fd7adcdb063dca06993 Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Sat, 16 Nov 2024 16:58:35 -0700 Subject: [PATCH] Note that `set shell` is not used for `[script]` recipes (#2468) --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b318a5dbcb..9ae33a6284 100644 --- a/README.md +++ b/README.md @@ -2755,8 +2755,9 @@ scripts interpreted by `COMMAND`. This avoids some of the issues with shebang recipes, such as the use of `cygpath` on Windows, the need to use `/usr/bin/env`, and inconsistences in shebang line splitting across Unix OSs. -Recipes with an empty `[script]` attribute are executed with the value of -`set script-interpreter := […]`1.33.0, defaulting to `sh -eu`. +Recipes with an empty `[script]` attribute are executed with the value of `set +script-interpreter := […]`1.33.0, defaulting to `sh -eu`, and *not* +the value of `set shell`. The body of the recipe is evaluated, written to disk in the temporary directory, and run by passing its path as an argument to `COMMAND`.