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

add local mode

parent cd121d7a
No related branches found
No related tags found
No related merge requests found
......@@ -35,11 +35,13 @@
# Tuesday, October 9 14:36:56 CEST 2018, jhlee
#
# 0.3.6 : In case, we know where $0 is, sourcing setE3Env.bash by itself
#
# 0.3.7 : Introduce the local mode with -l
#
declare -gr SC_SCRIPT="$(realpath "$0")"
declare -gr SC_SCRIPTNAME=${0##*/}
declare -gr SC_TOP="${SC_SCRIPT%/*}"
declare -g SC_VERSION="v0.3.6"
declare -g SC_VERSION="v0.3.7"
declare -g STARTUP=""
declare -g BASECODE=""
......
......@@ -424,6 +424,10 @@ function loadFiles
shift
echo "require $1"
;;
( -l )
shift
printf "epicsEnvSet EPICS_DRIVER_PATH ${EPICS_DRIVER_PATH}:%s\n", $1
;;
( -* )
printf "Unknown option $1\n\n" >&2
help
......
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