VIAME / VIAME

Video and Image Analytics for Multiple Environments
http://www.viametoolkit.org/
Other
276 stars 80 forks source link

Path to addon install is wrong. #140

Open subdavis opened 3 years ago

subdavis commented 3 years ago

https://github.com/VIAME/VIAME/blob/571cd35153376a5c336dfbb4c9fca5f767c42ee6/cmake/download_all_viame_addons.sh#L4

Steps to reproduce

cd /opt/noaa/viame
source setup_viame.sh
download_all_viame_addons.sh

Result:

new configs go into /opt/noaa/configs instead of /opt/noaa/viame/configs because BASH_SOURCE is empty.

workaround:

Run from +1 depth, such as inside bin/