1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00
nats.docs/nats-server
Olivier M. Esuka a7fc21ca1d
Correct the installation path
### Description
This PR correct the installation path before moving the executed file from the unzipped folder

### How to reproduce
```text
> curl -L https://github.com/nats-io/nats-server/releases/download/v2.0.0/nats-server-v2.0.0-linux-amd64.zip -o nats-server.zip

> unzip nats-server.zip -d nats-server
Archive:  nats-server.zip
   creating: nats-server-v2.0.0-linux-amd64/
  inflating: nats-server-v2.0.0-linux-amd64/README.md
  inflating: nats-server-v2.0.0-linux-amd64/LICENSE
  inflating: nats-server-v2.0.0-linux-amd64/nats-server

> sudo cp nats-server/nats-server-v2.0.0-linux-amd64/nats-server /usr/bin
```
The above `sudo cp nats-server-v2.0.0-linux-amd64/nats-server /usr/bin` doesn't work because the source should be ` nats-server/nats-server-v2.0.0-linux-amd64/nats-server`
2020-11-04 21:18:31 +02:00
..
2020-10-30 15:59:14 -04:00
2020-04-10 14:41:07 +00:00
2020-04-10 14:41:07 +00:00
2020-11-04 21:18:31 +02:00