mirror of
https://github.com/status-im/react-native-config.git
synced 2025-02-28 15:00:45 +00:00
docs: escape cp for PROJECT_DIR with spaces (#504)
This commit is contained in:
parent
2f68b94065
commit
907be7e7c2
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user