Skip to content

Commit

Permalink
SFD-XXXX Update python path variable
Browse files Browse the repository at this point in the history
  • Loading branch information
daonhs committed Sep 1, 2023
1 parent d9a451a commit 7417409
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions build/automation/init.mk
Original file line number Diff line number Diff line change
Expand Up @@ -637,12 +637,9 @@ PATH_SYSTEM := /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
.ONESHELL:
.PHONY: *
MAKEFLAGS := --no-print-director
ifeq ($(findstring jenkins-prod, $(JENKINS_URL)), jenkins-prod)
PATH := $(PATH_DEVOPS):$(PATH_HOMEBREW):$(PATH_SYSTEM)
else
PATH_PYENV = /.pyenv/versions/jenkins/bin
PATH := $(PATH_PYENV):$(PATH_DEVOPS):$(PATH_HOMEBREW):$(PATH_SYSTEM)
endif
PATH_PYENV = /.pyenv/versions/jenkins/bin
PATH := $(PATH_PYENV):$(PATH_DEVOPS):$(PATH_HOMEBREW):$(PATH_SYSTEM)

SHELL := /bin/bash
ifeq (true, $(shell [[ "$(DEBUG)" =~ ^(true|yes|y|on|1|TRUE|YES|Y|ON)$$ ]] && echo true))
.SHELLFLAGS := -cex
Expand Down

0 comments on commit 7417409

Please sign in to comment.