Browse Source

feat:添加脚本

zhaohaipeng 7 months ago
parent
commit
e826c2ee75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ad/01_ad_model_update.sh

+ 1 - 1
ad/01_ad_model_update.sh

@@ -2,7 +2,7 @@
 set -x
 
 # source /root/anaconda3/bin/activate py37
-sh_path=$(pwd)
+sh_path=$(dirname $0)
 source ${sh_path}/00_common.sh
 
 export SPARK_HOME=/opt/apps/SPARK2/spark-2.4.8-hadoop3.2-1.0.8