sh

判断是否存在目录

if [ ! -d ${LOG_PATH} ]; then
  mkdir -p ${LOG_PATH}
fi

 

posted @ 2021-03-05 19:29  hulian425  阅读(195)  评论(0编辑  收藏  举报