OpenDroneMap-WebODM/nodeodm/setup.sh

15 wiersze
286 B
Bash
Czysty Zwykły widok Historia

2021-09-26 17:44:17 +00:00
#!/bin/bash
set -eo pipefail
__dirname=$(cd $(dirname "$0"); pwd -P)
cd "${__dirname}"
# Only execute if TEST_BUILD is set to true
if [[ ! -z ${TEST_BUILD+x} ]]; then
cd external/NodeODM
npm install --quiet
echo "NodeODM is setup"
else
echo "TEST_BUILD is not set"
fi