Before, by default we did NOT want anything to downloaded build time,
but this can be useful when executed by scripts
that can not pass EXEC_MODE=true before calling prep.sh.
This change is welcome to be reverted if merged.
It is strongly recommended to rely on scons instead,
if not possible, this can be done differently using this script.
For more details about building IoTivity please check:
https://wiki.iotivity.org/build
Bug: https://jira.iotivity.org/browse/IOT-820
Change-Id: I37556c086ee41d2dbe6224c717b203896fa1856a
Origin: https://gerrit.iotivity.org/gerrit/#/c/12499/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
set -f
-[ ! -z ${EXEC_MODE} ] || EXEC_MODE=false
+[ ! -z ${EXEC_MODE} ] || EXEC_MODE=true
topdir="${PWD}"