Skip to content
Snippets Groups Projects
Commit 3bf76ca0 authored by Carmelo Pellegrino's avatar Carmelo Pellegrino
Browse files

reading the path of pc.cfg file from shell var

parent d73d65c3
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,8 @@
# The configuration of this very script is perfomed via shell variables.
# Here the list of parameters is reported
#
# DM_EXE_DIR -> the absolute path to the DetectorControl.exe program
# DM_EXE_DIR -> the absolute path to the DetectorControl.exe program
# PC_CONF_DIR -> the absolute path of the pc.cfg configuration file
function put_lock() {
touch /tmp/pc.lock
......@@ -48,7 +49,7 @@ function get_run_setup_file() {
while IFS=';' read -ra line; do
LIST+=("FALSE" "${line[@]}")
done < pc.cfg
done < ${PC_CONF_DIR}/pc.cfg
zenity --title "Run Setup Selector" \
--list \
......
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