From 907be7e7c21b344c15041bbbe9c204845be9766e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gebski?= Date: Tue, 6 Oct 2020 14:20:09 +0200 Subject: [PATCH] docs: escape cp for PROJECT_DIR with spaces (#504) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 34d1754..e0ec296 100644 --- a/README.md +++ b/README.md @@ -294,7 +294,7 @@ Then edit the newly created scheme to make it use a different env file. From the - Click "Pre-actions", and under the plus sign select "New Run Script Action" - Where it says "Type a script or drag a script file", type: ``` - cp ${PROJECT_DIR}/../.env.staging ${PROJECT_DIR}/../.env # replace .env.staging for your file + cp "${PROJECT_DIR}/../.env.staging" "${PROJECT_DIR}/../.env" # replace .env.staging for your file ``` Also ensure that "Provide build settings from", just above the script, has a value selected so that PROJECT_DIR is set.