epfl-lasa / control-libraries

A collection of library modules to facilitate the creation of full control loop algorithms, including state representation, motion planning, kinematics, dynamics and control.
https://epfl-lasa.github.io/control-libraries
GNU General Public License v3.0
27 stars 2 forks source link

Fix install script failures #274

Closed eeberhard closed 2 years ago

eeberhard commented 2 years ago

When an installation fails, the ./tmp folder is not deleted. On subsequent installation attempts, a mkdir build fails because the directory already exists.

In this PR I add the -p flag to prevent mkdir from failing, and remove the tmp folder before installation.

Thanks to @hubernikus for spotting the issue.