Skip to content

Commit

Permalink
change 'cd' to 'cp -r' (apache#2368)
Browse files Browse the repository at this point in the history
### Motivation

In https://pulsar.incubator.apache.org/docs/en/io-quickstart/ ,
`connectors` directory cannot be copied because copy command is wrong.

> // you will find a directory named `apache-pulsar-io-connectors-2.1.0-incubating` in the pulsar directory
> // then copy the connectors
>
> $ cd apache-pulsar-io-connectors-2.1.0-incubating/connectors connectors

### Modifications

・Change `cd` to `cp -r`

### Result

`connectors` directory can be copied successfully.

```
$ cp -r apache-pulsar-io-connectors-2.1.0-incubating/connectors connectors
$ ls connectors
pulsar-io-aerospike-2.1.0-incubating.nar  pulsar-io-kinesis-2.1.0-incubating.nar
pulsar-io-cassandra-2.1.0-incubating.nar  pulsar-io-rabbitmq-2.1.0-incubating.nar
pulsar-io-kafka-2.1.0-incubating.nar      pulsar-io-twitter-2.1.0-incubating.nar
```
  • Loading branch information
k2la authored and sijie committed Aug 14, 2018
1 parent 7bcd893 commit d5c7a9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site2/docs/io-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $ tar xvfz /path/to/apache-pulsar-io-connectors-{{pulsar:version}}-bin.tar.gz
// you will find a directory named `apache-pulsar-io-connectors-{{pulsar:version}}` in the pulsar directory
// then copy the connectors

$ cd apache-pulsar-io-connectors-{{pulsar:version}}/connectors connectors
$ cp -r apache-pulsar-io-connectors-{{pulsar:version}}/connectors connectors

$ ls connectors
pulsar-io-aerospike-{{pulsar.version}}.nar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ $ tar xvfz /path/to/apache-pulsar-io-connectors-{{pulsar:version}}-bin.tar.gz
// you will find a directory named `apache-pulsar-io-connectors-{{pulsar:version}}` in the pulsar directory
// then copy the connectors

$ cd apache-pulsar-io-connectors-{{pulsar:version}}/connectors connectors
$ cp -r apache-pulsar-io-connectors-{{pulsar:version}}/connectors connectors

$ ls connectors
pulsar-io-aerospike-{{pulsar.version}}.nar
Expand Down

0 comments on commit d5c7a9b

Please sign in to comment.