Commit 3b9e044d authored by Vitaly Lipatov's avatar Vitaly Lipatov

skip comments from repos file

parent 5a2d57c4
...@@ -20,6 +20,8 @@ load_systems_list() ...@@ -20,6 +20,8 @@ load_systems_list()
local IDX=0 local IDX=0
local line local line
while read line ; do while read line ; do
# skip comments
echo $line | grep "^#" >/dev/null && continue
SYSNAME[$IDX]=${line/ *.*/} SYSNAME[$IDX]=${line/ *.*/}
#FTP[$IDX]=${line/.* \+/} #FTP[$IDX]=${line/.* \+/}
SYSURL[$IDX]=$(echo $line | sed -e "s|.* \+||g") SYSURL[$IDX]=$(echo $line | sed -e "s|.* \+||g")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment