Skip to content
Snippets Groups Projects
Commit 8524c36c authored by Pete Jemian's avatar Pete Jemian
Browse files

declare default UI file early in script, allow to be defined in environment variable

parent e5ce6fe8
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
export EPICS_APP=`dirname $0`
export EPICS_APP_UI_DIR=${EPICS_APP}/xxxApp/op/ui
export DEFAULT_UI_FILE=${DEFAULT_UI_FILE:-xxx.ui}
#######################################
......@@ -207,6 +208,6 @@ fi
#caQtDM -noMsg xxx.ui &
# allow for command line option to specify the file to be opened
caQtDM -style plastique -noMsg ${1:-xxx.ui}
caQtDM -style plastique -noMsg ${1:-${DEFAULT_UI_FILE}}
# TODO: what about ALL command line parameters? "$*"
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