File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ if [ -f "${ENV_FILE}" ]; then
2020 source " ${ENV_FILE} "
2121fi
2222
23- export PROJECT_DIR=" ${script_dir:- } /../../../"
23+ PROJECT_DIR=$( realpath " ${script_dir:- } /../../../" )
24+ export PROJECT_DIR
2425
2526export NAMESPACE_FILE=" ${workdir} /.namespace"
2627if [ -f " ${NAMESPACE_FILE} " ]; then
@@ -39,11 +40,15 @@ export EVG_HOST_NAME=""
3940export GOROOT=" /opt/golang/go1.24"
4041
4142if [[ ! ${PATH} =~ .* ${workdir:- .} /bin.* ]]; then
42- export PATH=${PATH} :${workdir:- .} /bin
43+ export PATH=${workdir:- .} /bin:${PATH}
44+ fi
45+ if [[ ! ${PATH} =~ .* ${PROJECT_DIR} /bin.* ]]; then
46+ export PATH=${PROJECT_DIR} /bin:${PATH}
4347fi
4448if [[ ! ${PATH} =~ .* ${GOROOT} /bin.* ]]; then
4549 export PATH=${GOROOT} /bin:${PATH}
4650fi
51+ echo " Setting PATH=${PATH} "
4752
4853export LOCAL_OPERATOR=" false"
4954
You can’t perform that action at this time.
0 commit comments