lcm-proj / lcm

Lightweight Communications and Marshalling
GNU Lesser General Public License v2.1
944 stars 385 forks source link

fix echo command in linux post-install instructions #473

Closed danielcjacobs closed 9 months ago

danielcjacobs commented 9 months ago

The following command won't work on many systems, as > cannot be executed with root priviliges.

echo $LCM_LIBRARY_DIR > /etc/ld.so.conf.d/lcm.conf

Changed this command to:

echo $LCM_LIBRARY_DIR | sudo tee -a /etc/ld.so.conf.d/lcm.conf

Might not need the -a flag, since it seems unlikely that there's anything in that file that shouldn't be overwritten.