Commit 830645d1 authored by 赵建伟's avatar 赵建伟

update codes

parent 3450d401
......@@ -11,8 +11,8 @@ if [ $# -lt 1 ]; then
fi
#判断sql脚本是否存在
project_name=$1
sql_path="/home/bi/bi-report/sqls/$project_name/$project_name.sql"
dir_name=$1
sql_path="/home/bi/bi-report/sqls/$dir_name/$dir_name.sql"
if [ ! -f $sql_path ]; then
echo "Param project_name error, please check again!"
exit 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment