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/../..fiTAOSD_DIR=`find $TAOS_DIR-name"taosd"|grep bin|head -n1`LIB_DIR=`echo$TAOSD_DIR|rev|cut -d'/'-f 3,4,5,6|rev`/lib