6 [ ! -z ${EXEC_MODE} ] || EXEC_MODE=false
15 # WARNING: This helper script is DISCOURAGED to be used
17 # Instead please use the supported build tool "scons"
19 # However in some specific cases it's not possible
20 # so this script is providing a fallback option.
22 # Reminder: it's not safe to access online resources at build time,
23 # so by default the script will tell what to do (like scons),
24 # to enable tasks executions it should be run with EXEC_MODE enabled:
26 # EXEC_MODE=true ./prep.sh
29 # https://wiki.iotivity.org/build
33 whereis bash > /dev/null || echo "error: please install: bash"
34 whereis git > /dev/null || echo "error: please install: git"
35 whereis unzip > /dev/null || echo "error: please install: unzip"
36 whereis wget > /dev/null || echo "error: please install: wget"
38 find ./extlibs/ -maxdepth 2 -a -iname "prep.sh" | xargs -n1 bash