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 which bash > /dev/null
35 which unzip > /dev/null
36 which wget > /dev/null
38 find ./extlibs/ -maxdepth 2 -a -iname "prep.sh" | xargs -n1 bash