From 332e11edcafcf93330b448ac8d31f1647d4e876d Mon Sep 17 00:00:00 2001 From: peacewong Date: Wed, 29 Nov 2023 14:18:18 +0800 Subject: [PATCH] Fix issue #4997 add step source bash_profile --- linkis-dist/bin/checkEnv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linkis-dist/bin/checkEnv.sh b/linkis-dist/bin/checkEnv.sh index d86a76385d..cca13ac301 100644 --- a/linkis-dist/bin/checkEnv.sh +++ b/linkis-dist/bin/checkEnv.sh @@ -13,13 +13,13 @@ # See the License for the specific language governing permissions and # limitations under the License. # - +source ~/.bash_profile shellDir=`dirname $0` workDir=`cd ${shellDir}/..;pwd` source ${workDir}/bin/common.sh source ${workDir}/deploy-config/linkis-env.sh source ${workDir}/deploy-config/db.sh - +source say() { printf 'check command fail \n %s\n' "$1" }