Skip to content

Commit 922c13b

Browse files
authored
Update binary install for best practices (eksctl-io#8359)
Replace the mv command with install for the "UNIX installation" method
1 parent 45d0b90 commit 922c13b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ curl -sL "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_ch
7373

7474
tar -xzf eksctl_$PLATFORM.tar.gz -C /tmp && rm eksctl_$PLATFORM.tar.gz
7575

76-
sudo mv /tmp/eksctl /usr/local/bin
76+
sudo install -m 0755 /tmp/eksctl /usr/local/bin && rm /tmp/eksctl
7777
```
7878

7979
### For Windows

userdocs/src/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ curl -sL "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_ch
3838

3939
tar -xzf eksctl_$PLATFORM.tar.gz -C /tmp && rm eksctl_$PLATFORM.tar.gz
4040

41-
sudo mv /tmp/eksctl /usr/local/bin
41+
sudo install -m 0755 /tmp/eksctl /usr/local/bin && rm /tmp/eksctl
4242
```
4343

4444
### For Windows

0 commit comments

Comments
 (0)