We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56f3ca2 commit 8609a50Copy full SHA for 8609a50
1 file changed
tools/channel.sh
@@ -64,7 +64,8 @@ gen_channel_list() {
64
channellist+=("${_dirname}")
65
fi
66
else
67
- channellist+=("$(echo ${_dirname} | sed 's/\.[^\.]*$//')")
+ #channellist+=("$(echo ${_dirname} | sed 's/\.[^\.]*$//')")
68
+ readarray -t -O "${#channellist[@]}" channellist < <(echo "${_dirname}" | sed 's/\.[^\.]*$//')
69
70
elif [[ ! -d "${script_path}/channels/${_dirname}.add" ]] && [[ "${opt_only_add}" = false ]]; then
71
if [[ "${opt_fullpath}" = true ]]; then
0 commit comments