Skip to content
Snippets Groups Projects
Commit 45543296 authored by mooney's avatar mooney
Browse files

fix for app name different from directory name

parent ef1143ac
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,12 @@
# caller (typically: start_epics) MUST make this definition:
# setenv EPICS_APP /home/oxygen/MOONEY/epics/synApps/support/xxx
# and must make this definition if the app name isn't the directory name:
# setenv EPICS_APP_NAME xxx
setenv EPICS_APP_NAME `basename ${EPICS_APP}`
if (! ${?EPICS_APP_NAME}) then
setenv EPICS_APP_NAME `basename ${EPICS_APP}`
endif
setenv EPICS_APP_ADL_DIR ${EPICS_APP}/${EPICS_APP_NAME}App/op/adl
setenv EPICS_APP_UI_DIR ${EPICS_APP}/${EPICS_APP_NAME}App/op/ui
......
#!/bin/csh -f
setenv EPICS_APP /home/oxygen/MOONEY/epics/synApps/support/xxx
setenv EPICS_APP_NAME xxx
# define environment variables for MEDM, caQtDM, and Probe
source ./setup_epics_common
......
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