Skip to content
Snippets Groups Projects
Commit 0323f0a4 authored by dohnarms's avatar dohnarms
Browse files

added bash start_epics fix to not include nonexistent directories

parent 937c07b7
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,10 @@ eval $output
# EDP is temporary EPICS_DISPLAY_PATH
#
function append_EDP { # note: in bash, macros are not expanded in aliases
EDP=${EDP}:$@
if [ -d $1 ] # this will keep keep out nonexistent directories
then
EDP=${EDP}:$1
fi
}
EDP=.
append_EDP ${EPICS_APP_ADL_DIR}
......
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