Open subdavis opened 3 years ago
https://github.com/VIAME/VIAME/blob/571cd35153376a5c336dfbb4c9fca5f767c42ee6/cmake/download_all_viame_addons.sh#L4
cd /opt/noaa/viame source setup_viame.sh download_all_viame_addons.sh
new configs go into /opt/noaa/configs instead of /opt/noaa/viame/configs because BASH_SOURCE is empty.
/opt/noaa/configs
/opt/noaa/viame/configs
BASH_SOURCE
Run from +1 depth, such as inside bin/
bin/
https://github.com/VIAME/VIAME/blob/571cd35153376a5c336dfbb4c9fca5f767c42ee6/cmake/download_all_viame_addons.sh#L4
Steps to reproduce
Result:
new configs go into
/opt/noaa/configs
instead of/opt/noaa/viame/configs
becauseBASH_SOURCE
is empty.workaround:
Run from +1 depth, such as inside
bin/