why not just assign path directly
e.g., RIL_DIR=`readlink -e  ./ril_temp`