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

useless echo removed

parent 3a8e4115
No related branches found
No related tags found
No related merge requests found
patch-control.sh 100644 → 100755
......@@ -38,26 +38,24 @@ function on_exit() {
}
function get_run_setup_file() {
local LIST
local LIST=()
local line
while IFS=';' read -ra line; do
if [ ${#line[@]} != 0 ]; then
LIST+=("FALSE" "${line[@]}")
fi
LIST+=("FALSE" "${line[@]}")
done < pc.cfg
echo $(zenity --title "Run Setup Selector" \
--list \
--text "Select one of the following Run Setups:" \
--radiolist \
--width=600 \
--height=400 \
--column="Selection" \
--column="Run Setup file" \
--column="Run Setup name" \
--column="Description" \
--hide-column=2 "${LIST[@]}")
zenity --title "Run Setup Selector" \
--list \
--text "Select one of the following Run Setups:" \
--radiolist \
--width=600 \
--height=400 \
--column="Selection" \
--column="Run Setup file" \
--column="Run Setup name" \
--column="Description" \
--hide-column=2 "${LIST[@]}"
}
function dm_driver() {
......
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