Skip to content
Snippets Groups Projects
Commit 46e8de9f authored by Jeong Han Lee's avatar Jeong Han Lee
Browse files

update CONFIG_SUDO to fix if sudo isn't needed

parent a69f7e65
No related branches found
No related tags found
No related merge requests found
...@@ -5,9 +5,11 @@ SUDO_INFO := $(shell test -w $(EPICS_BASE) 1>&2 2> /dev/null; echo $$?) ...@@ -5,9 +5,11 @@ SUDO_INFO := $(shell test -w $(EPICS_BASE) 1>&2 2> /dev/null; echo $$?)
ifeq "$(SUDO_INFO)" "1" ifeq "$(SUDO_INFO)" "1"
SUDO := sudo SUDO := sudo
SUDOBASH = $(SUDO) SUDOBASH = $(SUDO) -E
SUDOBASH += -E
SUDOBASH += bash -c SUDOBASH += bash -c
else
SUDO :=
SUDOBASH = bash -c
endif endif
...@@ -19,5 +21,4 @@ E3_MODULE_SRC_PATH_INFO := $(shell test -d $(E3_MODULE_SRC_PATH) 1>&2 2> /dev/nu ...@@ -19,5 +21,4 @@ E3_MODULE_SRC_PATH_INFO := $(shell test -d $(E3_MODULE_SRC_PATH) 1>&2 2> /dev/nu
ifeq "$(E3_MODULE_SRC_PATH_INFO)" "1" ifeq "$(E3_MODULE_SRC_PATH_INFO)" "1"
INIT_E3_MODULE_SRC = 1 INIT_E3_MODULE_SRC = 1
endif endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment