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