Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit f59b6a5

Browse files
julianoesTSC21
authored andcommitted
setup: improve FastRTPS install command
This way we abort on error and don't end up in a directory if something fails.
1 parent de42eed commit f59b6a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

en/setup/dev_env_linux_ubuntu.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,8 @@ tar -xzf requiredcomponents/eProsima_FastCDR-1.0.7-Linux.tar.gz
111111
> **Note** In the following lines where we compile the FastCDR and FastRTPS libraries, the `make` command is issued with the `-j2` option. This option defines the number of parallel threads (or `j`obs) that are used to compile the source code. Change `-j2` to `-j<number_of_cpu_cores_in_your_system>` to speed up the compilation of the libraries.
112112
113113
```sh
114-
cd eProsima_FastCDR-1.0.7-Linux; ./configure --libdir=/usr/lib; make -j2; sudo make install
115-
cd ..
116-
cd eProsima_FastRTPS-1.5.0-Linux; ./configure --libdir=/usr/lib; make -j2; sudo make install
117-
cd ..
114+
(cd eProsima_FastCDR-1.0.7-Linux && ./configure --libdir=/usr/lib && make -j2 && sudo make install)
115+
(cd eProsima_FastRTPS-1.5.0-Linux && ./configure --libdir=/usr/lib && make -j2 && sudo make install)
118116
rm -rf requiredcomponents eprosima_fastrtps-1-5-0-linux.tar.gz
119117
```
120118

0 commit comments

Comments
 (0)