From b3fc57be53615001a6ff4a92e953ced2fc2f5906 Mon Sep 17 00:00:00 2001 From: chaopower Date: Tue, 5 Dec 2023 17:39:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/soft_bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/soft_bash b/script/soft_bash index 327f900..c14c20d 100755 --- a/script/soft_bash +++ b/script/soft_bash @@ -1,5 +1,6 @@ # 目录环境 -export WORKFLOW=/home/zhangchao/project/pipeline/workflow +# export WORKFLOW=/home/zhangchao/project/pipeline/workflow +export WORKFLOW=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")") export PUBLIC=$WORKFLOW/script/public export DATABASE=$WORKFLOW/database