Skip to content

Commit 46ffcc5

Browse files
committed
Make AWS Codebuild instructions simpler.
No need to manually record PWD and to change back to previous directory if you let a subshell do it for you. Fixes #458
1 parent 1aca733 commit 46ffcc5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ The following snippet can be inserted in your buildspec.yml (or buildspec defini
4242
**Side Note:** if you use the below steps, please unset your golang version in the buildspec and run the installer manually.
4343

4444
```yaml
45-
- BUILD_DIR=$PWD
46-
- cd /root/.goenv/plugins/go-build/../.. && git pull && cd -
47-
- cd $BUILD_DIR
45+
- (cd /root/.goenv/plugins/go-build/../.. && git pull)
4846
```
4947
5048
---

0 commit comments

Comments
 (0)