EXEC_DIR=`dirname"$0"`if[[$EXEC_DIR!="."]]thenecho"ERROR: Please execute `basename"$0"` in its own directory (for now anyway, pardon the dust)"exit-1fiCURR_DIR=`pwd`IN_TDINTERNAL="community"if[["$CURR_DIR"==*"$IN_TDINTERNAL"*]];thenTAOS_DIR=$CURR_DIR/../../..elseTAOS_DIR=$CURR_DIR/../..fi