Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
require
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
epics-modules
require
Commits
0e86de79
Commit
0e86de79
authored
4 years ago
by
Simon Rose
Browse files
Options
Downloads
Patches
Plain Diff
Re-added automatic source-ing of setE3Env.bash
parent
07d8f111
No related branches found
No related tags found
2 merge requests
!14
3.3.0
,
!13
WIP: 3.3.0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/iocsh.bash
+8
-0
8 additions, 0 deletions
tools/iocsh.bash
tools/iocsh_functions
+1
-1
1 addition, 1 deletion
tools/iocsh_functions
with
9 additions
and
1 deletion
tools/iocsh.bash
+
8
−
0
View file @
0e86de79
...
@@ -61,6 +61,14 @@ IOCSH_TOP=${PWD}
...
@@ -61,6 +61,14 @@ IOCSH_TOP=${PWD}
# Load any environment variables, default is $IOCSH_TOP/env.sh
# Load any environment variables, default is $IOCSH_TOP/env.sh
loadEnv
"
$@
"
loadEnv
"
$@
"
# The most unique environment variable for e3 is EPICS_DRIVER_PATH
#
if
[[
$(
checkIfVar
${
EPICS_DRIVER_PATH
}
)
-eq
"
$NON_EXIST
"
]]
;
then
set
-a
.
${
SC_TOP
}
/setE3Env.bash
"no_msg"
set
+a
fi
BASECODE
=
"
$(
basecode_generator
)
"
BASECODE
=
"
$(
basecode_generator
)
"
check_mandatory_env_settings
check_mandatory_env_settings
...
...
This diff is collapsed.
Click to expand it.
tools/iocsh_functions
+
1
−
1
View file @
0e86de79
...
@@ -324,7 +324,7 @@ function check_mandatory_env_settings() {
...
@@ -324,7 +324,7 @@ function check_mandatory_env_settings() {
var_list+
=(
E3_REQUIRE_VERSION
)
var_list+
=(
E3_REQUIRE_VERSION
)
for
var
in
${
var_list
[@]
}
;
do
for
var
in
${
var_list
[@]
}
;
do
if
[[
$(
checkIfVar
${
!var
}
)
-eq
"
$NON_EXIST
"
]]
;
then
if
[[
$(
checkIfVar
${
!var
}
)
-eq
"
$NON_EXIST
"
]]
;
then
die 1
"
$var
is not defined!. Please
run conda activate <env>
"
die 1
"
$var
is not defined!. Please
source
${
E3_REQUIRE_BIN
}
/setE3Env.bash
"
fi
fi
done
done
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment