From 0ecb2fe3054b1b2063b172377015c4e5d6d260e6 Mon Sep 17 00:00:00 2001 From: Natalie Arellano Date: Thu, 24 Feb 2022 16:23:08 -0500 Subject: [PATCH] Remove standalone lines, and add one more line Signed-off-by: Natalie Arellano --- buildpack.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/buildpack.md b/buildpack.md index 9e2ca5ae..b2757976 100644 --- a/buildpack.md +++ b/buildpack.md @@ -709,14 +709,12 @@ Given the start command and execution strategy, 1. Firstly, in order of `/bin/build` execution used to construct the OCI image. 2. Secondly, in alphabetically ascending order by layer directory name. 3. Thirdly, in alphabetically ascending order by file name. - 2. [execute](#execd) each file in each `//exec.d/` directory in the launch environment and set the [returned variables](#execd-output-toml) in the launch environment before continuing, + 2. [execute](#execd) each file in each `//exec.d/` directory in the launch environment, with working directory ``, and set the [returned variables](#execd-output-toml) in the launch environment before continuing, 1. Firstly, in order of `/bin/build` execution used to construct the OCI image. 2. Secondly, in alphabetically ascending order by layer directory name. 3. Thirdly, in alphabetically ascending order by file name. -The working directory for all executed files SHALL be ``. - -1. If using an execution strategy involving a shell, the lifecycle MUST use a single shell process with working directory `` to +1. If using an execution strategy involving a shell, the lifecycle MUST use a single shell process, with working directory ``, to 1. source each file in each `//profile.d` directory, 1. Firstly, in order of `/bin/build` execution used to construct the OCI image. 2. Secondly, in alphabetically ascending order by layer directory name. @@ -727,8 +725,6 @@ The working directory for all executed files SHALL be ``. 3. Thirdly, in alphabetically ascending order by file name. 3. source [†](README.md#linux-only)`/.profile` or [‡](README.md#windows-only)`/.profile.bat` if it is present. -The working directory for all sourced files SHALL be ``. - 1. The lifecycle MUST set the working directory for the start command to ``, or to `` if `` is not specified. 1. The lifecycle MUST invoke the start command with the decided execution strategy.