Skip to content

Commit 998be66

Browse files
committed
[fix] : Fixed SC2000
1 parent ca2f869 commit 998be66

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ _usage () {
126126
done
127127

128128
echo " Channel:"
129-
for _dirname in $(bash "${tools_dir}/channel.sh" --version "${alteriso_version}" -d -b -n show); do
130-
echo -ne " ${_dirname%.add}$(echo_blank "$(( "${blank}" - 3 - "$(echo "${_dirname%.add}" | wc -m)" ))")"
131-
"${tools_dir}/channel.sh" --version "${alteriso_version}" --nocheck desc "${_dirname%.add}"
129+
for _dirname in $(bash "${tools_dir}/channel.sh" --version "${alteriso_version}" -d -b -n --line show | sed "s|.add$||g"); do
130+
echo -ne " ${_dirname}$(echo_blank "$(( "${blank}" - 4 - "${#_dirname}" ))")"
131+
"${tools_dir}/channel.sh" --version "${alteriso_version}" --nocheck desc "${_dirname}"
132132
done
133133

134134
echo

0 commit comments

Comments
 (0)